summaryrefslogtreecommitdiff
path: root/build-aux/vc-list-files
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/vc-list-files')
-rwxr-xr-xbuild-aux/vc-list-files4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 35046d5878..762d7eeb36 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.14
+scriptversion=2008-04-03.17
# Copyright (C) 2006-2008 Free Software Foundation, Inc.
@@ -56,7 +56,7 @@ EOF
exit ;;
-C)
- postprocess="| sed 's|^|$2/|'"
+ test "$2" = . || postprocess="| sed 's|^|$2/|'"
cd "$2" || exit 1
shift; shift ;;
esac