automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [FYI] [ng] tests: avoid a spurious failure on OpenIndiana


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] [ng] tests: avoid a spurious failure on OpenIndiana
Date: Sat, 11 Aug 2012 22:49:50 +0200

* t/autodist.sh: Ensure that the 'install-sh' script has legit content,
because it's going to be used by the "make distdir" target on systems
lacking a decent 'install' program.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/autodist.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/t/autodist.sh b/t/autodist.sh
index 0f6c2de..6bc5fb3 100755
--- a/t/autodist.sh
+++ b/t/autodist.sh
@@ -88,9 +88,15 @@ rm -rf $me-1.0          # Remove $(distdir).
 
 : > distfiles.am
 for f in $list; do
-  echo dummy > $f
+  test "$f" = install-sh || echo dummy > $f
 done
 
+# The 'install-sh' script must have legit content, because it's going
+# to be used by the "make distdir" target on systems lacking a decent
+# 'install' program.
+cp "$am_scriptdir/install-sh" . \
+  || fatal_ "fetching auxiliary script 'install-sh'"
+
 ls -l # For debugging.
 
 $AUTOMAKE
-- 
1.7.12.rc0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]