diff options
author | Jim Meyering <meyering@redhat.com> | 2008-04-30 11:36:06 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-04-30 11:36:06 +0200 |
commit | 173a9f0c48a16c3507f8a9b4f2fe39384c1e68fd (patch) | |
tree | b619e57db15f66439139e39df9bbfc76cdb37a93 /build-aux/vc-list-files | |
parent | 032b1ce80ba621afc4f241570e0ae6716a59ce60 (diff) | |
download | gnulib-173a9f0c48a16c3507f8a9b4f2fe39384c1e68fd.tar.gz |
vc-list-files: avoid use of ${*-*} that fails when /bin/sh is dash
* build-aux/vc-list-files: Simplify ${*-*} to $dir, since we no longer
take more than one file argument, so . Add quotes, just in case $dir
ever contains a shell meta-character.
Diffstat (limited to 'build-aux/vc-list-files')
-rwxr-xr-x | build-aux/vc-list-files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files index 762d7eeb36..02fad61c89 100755 --- a/build-aux/vc-list-files +++ b/build-aux/vc-list-files @@ -2,7 +2,7 @@ # List version-controlled file names. # Print a version string. -scriptversion=2008-04-03.17 +scriptversion=2008-04-30.11 # Copyright (C) 2006-2008 Free Software Foundation, Inc. @@ -87,7 +87,7 @@ elif test -d CVS; then sub(/CVS\/Entries/, "", f); \ print f $2; \ }}'\'' \ - $(find ${*-*} -name Entries -print) /dev/null' $postprocess + $(find "$dir" -name Entries -print) /dev/null' $postprocess fi else echo "$0: Failed to determine type of version control used in `pwd`" 1>&2 |