diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-07 14:47:35 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-07 14:49:20 +0000 |
| commit | 7435e8a2f9d3fa13f078808f04f00d67685395de (patch) | |
| tree | b58f261c45ba5dda1ab1628e42efd80bcd6cfc43 /testing/util-vserver/ensc_pathprog.patch | |
| parent | 5ad962dfec7ed2b87a90ac3dd79714db73ab506b (diff) | |
| download | aports-7435e8a2f9d3fa13f078808f04f00d67685395de.tar.bz2 aports-7435e8a2f9d3fa13f078808f04f00d67685395de.tar.xz | |
testing/util-vserver: build with busybox only
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 + |
