##// END OF EJS Templates
Use test -h instead of test -L for portability...
Thomas Arendsen Hein -
r5682:048889f8 default
parent child Browse files
Show More
@@ -16,7 +16,7 b' hg merge'
16
16
17 echo % symlink is left parent, executable is right
17 echo % symlink is left parent, executable is right
18
18
19 if [ -L a ]; then
19 if [ -h a ]; then
20 echo a is a symlink
20 echo a is a symlink
21 readlink a
21 readlink a
22 elif [ -x a ]; then
22 elif [ -x a ]; then
@@ -28,7 +28,7 b' hg merge'
28
28
29 echo % symlink is right parent, executable is left
29 echo % symlink is right parent, executable is left
30
30
31 if [ -L a ]; then
31 if [ -h a ]; then
32 echo a is a symlink
32 echo a is a symlink
33 readlink a
33 readlink a
34 elif [ -x a ]; then
34 elif [ -x a ]; then
General Comments 0
You need to be logged in to leave comments. Login now