Dagobert Michelsen wrote:
Shouldn’t $SHELL be used for the tools invoked from „bootstrap“?

Not particularly. SHELL is set up by configure and this is pre-configure. We don't want to worry about pre-configure code that can be done on a machine with a standard /bin/sh.

Your fix worked and there are now 2 test failures:
   
https://buildfarm.opencsw.org/buildbot/builders/ggrep-solaris10-sparc/builds/94

Thanks, fixed with the attached. This problem was introduced in Erik Skultety's patch so I'll cc him.
From b23faea1bf5d20966a214d52af2a0a67ad093606 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Mon, 21 Aug 2017 12:38:20 -0700
Subject: [PATCH] vc-list-files: port to Solaris 10

* build-aux/vc-list-files: Don't assume test -e works.
---
 ChangeLog               | 5 +++++
 build-aux/vc-list-files | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 33de4cc..9864353 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-21  Paul Eggert  <egg...@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  <k...@freefriends.org>
 
 	* doc/posix-functions/srandom.texi (srandom): typo }.
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index ad683cc..83d3c33 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'`; }
-- 
2.7.4

Reply via email to