chiark
/
gitweb
/
~mdw
/
preload-hacks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Release 1.2.2.
[preload-hacks]
/
withlib.in
diff --git
a/withlib.in
b/withlib.in
index 47e19d1893cc529ff152ee126fadf58b689101ab..51d6a874fc964c6c249c07a4196eb6005d3194bd 100644
(file)
--- a/
withlib.in
+++ b/
withlib.in
@@
-1,6
+1,6
@@
#! /bin/sh
set -e
-export LD_PRELOAD=$LD_PRELOAD${LD_PRELOAD+ }@lib@.so
+LD_PRELOAD=${LD_PRELOAD+$LD_PRELOAD }@lib@.so; export LD_PRELOAD
[ $# -eq 0 ] && set -- "${SHELL-/bin/sh}"
exec "$@"