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 [ - |
|
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 [ - |
|
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