summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-08-21 12:38:20 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-08-21 12:41:47 -0700
commitefec5175a65f44f7509e58443bce98efa0916ad2 (patch)
tree65046789d3d95320bc2158613d3606b338cfbe8a
parentb2372a5428a5ed1bd68b762e0f2d26ed52b3874a (diff)
downloadgnulib-efec5175a65f44f7509e58443bce98efa0916ad2.tar.gz
vc-list-files: port to Solaris 10
* build-aux/vc-list-files: Don't assume test -e works.
-rw-r--r--ChangeLog5
-rwxr-xr-xbuild-aux/vc-list-files4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 33de4cc3df..98643535fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ vc-list-files: port to Solaris 10
+ * build-aux/vc-list-files: Don't assume test -e works.
+
2017-08-21 Karl Berry <karl@freefriends.org>
* doc/posix-functions/srandom.texi (srandom): typo }.
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index ad683cc3fc..83d3c337e9 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=2016-01-11.22; # UTC
+scriptversion=2017-08-21.19; # UTC
# Copyright (C) 2006-2017 Free Software Foundation, Inc.
@@ -65,7 +65,7 @@ test $# = 0 && set .
for dir
do
- if test -e .git; then
+ if test -d .git || test -f .git; then
test "x$dir" = x. \
&& dir= sed_esc= \
|| { dir="$dir/"; sed_esc=`echo "$dir"|env sed 's,\([\\/]\),\\\\\1,g'`; }