changeset 5682:048889f8c7d1

Use test -h instead of test -L for portability Citing from the GNU autoconf manual: "either form conforms to Posix 1003.1-2001, but older shells like Solaris 8 /bin/sh support only -h"
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 21 Dec 2007 09:51:19 +0100
parents 40db4f03085d
children 396c7010b0cd
files tests/test-merge-types
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-merge-types	Fri Dec 21 00:14:45 2007 +0100
+++ b/tests/test-merge-types	Fri Dec 21 09:51:19 2007 +0100
@@ -16,7 +16,7 @@
 
 echo % symlink is left parent, executable is right
 
-if [ -L a ]; then
+if [ -h a ]; then
     echo a is a symlink
     readlink a
 elif [ -x a ]; then
@@ -28,7 +28,7 @@
 
 echo % symlink is right parent, executable is left
 
-if [ -L a ]; then
+if [ -h a ]; then
     echo a is a symlink
     readlink a
 elif [ -x a ]; then