]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: don't give up on ln -s so easily
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 24 Jan 2016 22:24:35 +0000 (14:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 24 Jan 2016 22:25:00 +0000 (14:25 -0800)
* gnulib-tool (func_ln_s): Don't give up on a later ln -s merely
because an earlier one failed.  The targets could be on different
file systems.  Problem reported by KO Myung-Hun in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00081.html

ChangeLog
gnulib-tool

index fab0ffb22a528fdc3adb63724a3f0804d8c7c4b0..1d27b8ab98d689e21863f29cca5e1b46b6de8860 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2016-01-24  Paul Eggert  <eggert@cs.ucla.edu>
 
+       gnulib-tool: don't give up on ln -s so easily
+       * gnulib-tool (func_ln_s): Don't give up on a later ln -s merely
+       because an earlier one failed.  The targets could be on different
+       file systems.  Problem reported by KO Myung-Hun in:
+       http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00081.html
+
        closedir: fix OS/2-related typos
        Problem reported by KO Myung-Hun in:
        http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00107.html
index dc4eb8732913c87b203b29aef8b3a9157b6043c5..45d5fe0e3d10809d2fab928598f0a5fe6d4d1839 100755 (executable)
@@ -773,9 +773,6 @@ func_ln_s ()
 {
   ln -s "$1" "$2" || {
     echo "$progname: ln -s failed; falling back on cp -p" >&2
-    symbolic=
-    lsymbolic=
-    do_copyrights=true
 
     case "$1" in
       /* | ?:*) # SRC is absolute.