]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: Don't create hard links between gnulib and its testdirs.
authorBruno Haible <bruno@clisp.org>
Sat, 20 May 2017 11:24:37 +0000 (13:24 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 20 May 2017 11:24:37 +0000 (13:24 +0200)
* gnulib-tool (func_create_testdir): Don't invoke 'ln'.

ChangeLog
gnulib-tool

index c34db39d1a7122e0bfee08f0391ef94bcd9dc42f..25a0f69f8c34ba0ade0fb55d82f5bce58f04e327 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-20  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Don't create hard links between gnulib and its testdirs.
+       * gnulib-tool (func_create_testdir): Don't invoke 'ln'.
+
 2017-05-20  Bruno Haible  <bruno@clisp.org>
 
        argp, tsearch tests: Fix file list.
index f3463b67e8da765673c6c06794dc56d879d195e5..c5b993ad04697cc06acc6ad99c926d62e088b233 100755 (executable)
@@ -6084,7 +6084,6 @@ func_create_testdir ()
       if test -n "$lookedup_tmp"; then
         cp -p "$lookedup_file" "$testdir/$g"
       else
-        ln "$lookedup_file" "$testdir/$g" 2>/dev/null ||
         if func_should_symlink; then
           func_ln "$lookedup_file" "$testdir/$g"
         else