Skip to content

Commit

Permalink
gnulib-tool: don't give up on ln -s so easily
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
eggert committed Jan 24, 2016
1 parent b701042 commit d9958eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
2016-01-24 Paul Eggert <[email protected]>

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
Expand Down
3 changes: 0 additions & 3 deletions gnulib-tool
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d9958eb

Please sign in to comment.