blob: e14c1f6dab4918c8c62177d37aa43b4ce0f60c02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -ru a/m4/ensc_pathprog.m4 b/m4/ensc_pathprog.m4
--- a/m4/ensc_pathprog.m4 2009-10-02 17:25:49.000000000 +0000
+++ b/m4/ensc_pathprog.m4 2009-10-02 17:31:28.000000000 +0000
@@ -61,7 +61,9 @@
if test "x$5" = x; then
if test -h "${$1}"; then
- $1=`readlink -f "${$1}"`
+ case `readlink "{$1}"` in
+ ../*) $1=`readlink -f "${$1}"`;;
+ esac
fi
fi
|