elf: Make glibc.rtld.enable_secure ignore alias environment variables
[glibc.git] / scripts / list-sources.sh
blobd1c6803af6cb5aa2a196e25998d8c5cfc47fbf37
1 #!/bin/sh
3 # List all the files under version control in the source tree.
6 case $# in
7 0) ;;
8 1) cd "$1" ;;
9 *) echo >&2 "Usage: $0 [top_srcdir]"; exit 2 ;;
10 esac
12 if [ -r .git/HEAD ]; then
13 ${GIT:-git} ls-files
14 exit 0
17 echo >&2 'Cannot list sources without some version control system in use.'
18 exit 1