aports/main/util-vserver/ensc_pathprog.patch
Natanael Copa 73281af4d1 main/*-vserver: move from testing
good enough for main now
2010-01-06 08:45:11 +00:00

15 lines
370 B
Diff

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