]> Savannah Git Hosting - gnulib.git/commitdiff
vc-list-files: port to Solaris 10
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Aug 2017 19:38:20 +0000 (12:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Aug 2017 19:41:47 +0000 (12:41 -0700)
* build-aux/vc-list-files: Don't assume test -e works.

ChangeLog
build-aux/vc-list-files

index 33de4cc3df2be1e23e52d348150297b6a1f61366..98643535fe4c9833d40103b4e513cdc3dff11e2e 100644 (file)
--- 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 }.
index ad683cc3fc03c9c6b79a4ba59c476b2b1a49545c..83d3c337e96e4b2520c8f2233e8ab447e6af2ce4 100755 (executable)
@@ -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'`; }