diff options
| author | Michael Mason <ms13sp@gmail.com> | 2009-10-08 20:02:19 +0000 |
|---|---|---|
| committer | Michael Mason <ms13sp@gmail.com> | 2009-10-08 20:02:19 +0000 |
| commit | a3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b (patch) | |
| tree | 4b83cccd2b7c1723f4571e2033ab33c13d638776 /testing/util-vserver/ensc_pathprog.patch | |
| parent | 87283e2153e3ffbbbd2375cc300674e9fc2ea424 (diff) | |
| parent | 0e73bc9f5f2c536807b52ad12ff70cb03cd9e7bf (diff) | |
| download | aports-a3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b.tar.bz2 aports-a3f80a81f393f8509fbc2f6ff5e89ba04c7e5f2b.tar.xz | |
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/util-vserver/ensc_pathprog.patch')
| -rw-r--r-- | testing/util-vserver/ensc_pathprog.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/util-vserver/ensc_pathprog.patch b/testing/util-vserver/ensc_pathprog.patch new file mode 100644 index 0000000000..e14c1f6dab --- /dev/null +++ b/testing/util-vserver/ensc_pathprog.patch @@ -0,0 +1,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 + |
