[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib-tool: don't use "test -L"
From: |
Bruno Haible |
Subject: |
gnulib-tool: don't use "test -L" |
Date: |
Sun, 26 Aug 2007 12:30:51 +0200 |
User-agent: |
KMail/1.5.4 |
The autoconf manual recommends to use "test -h", not "test -L".
2007-08-26 Bruno Haible <address@hidden>
* gnulib-tool (func_ln_if_changed): Use "test -h", not "test -L".
--- gnulib-tool 23 Jul 2007 22:08:02 -0000 1.252
+++ gnulib-tool 26 Aug 2007 10:28:47 -0000
@@ -409,7 +409,7 @@
echo "usage: func_ln_if_changed SRC DEST" >&2
fi
ln_target=`func_readlink "$2"`
- if test -L "$2" && test "$1" = "$ln_target"; then
+ if test -h "$2" && test "$1" = "$ln_target"; then
:
else
rm -f "$2"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnulib-tool: don't use "test -L",
Bruno Haible <=