summaryrefslogtreecommitdiff
path: root/scripts/wrapper.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-06-02 21:01:19 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-06-02 21:01:19 (GMT)
commita07693b13cd0741fe0de2d6756a7a3c680f3f689 (patch)
treed2b61eb0213e9ce5e8cacbd8015125be7dd04c58 /scripts/wrapper.in
parentd9e898bdbc0828739425b25a6f23da198248f251 (diff)
/devel/gcc-4.4:
- ./configure: check for 'stat', needing to install the tools wrapper - wrapper: make it a POSIX-compliant script, restore relocatability - don't install the wrapper for symlinks -------- diffstat follows -------- /devel/gcc-4.4/configure | 1 1 0 0 + /devel/gcc-4.4/scripts/build/internals.sh | 22 16 6 0 ++++++++++++++++------ /devel/gcc-4.4/scripts/wrapper.in | 5 2 3 0 ++--- 3 files changed, 19 insertions(+), 9 deletions(-)
Diffstat (limited to 'scripts/wrapper.in')
-rw-r--r--scripts/wrapper.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/wrapper.in b/scripts/wrapper.in
index 70cb5d3..6222333 100644
--- a/scripts/wrapper.in
+++ b/scripts/wrapper.in
@@ -1,5 +1,4 @@
-#!@@CT_bash@@
-# There are bashisms on the last line
+#!/bin/sh
dirname="$(dirname "${0}")"
basename="$(basename "${0}")"
@@ -12,4 +11,4 @@ case ":${LD_LIBRARY_PATH}:" in
esac
export LD_LIBRARY_PATH
-exec -a "${basename}" "${dirname}/.${basename}" "$@"
+exec "${dirname}/.${basename}" "$@"