projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modes/ocb128.c: split fixed block xors to aligned and misaligned.
[openssl.git]
/
util
/
shlib_wrap.sh
diff --git
a/util/shlib_wrap.sh
b/util/shlib_wrap.sh
index d744ff303d6affd6b8c50b64ded90e8895bbaf99..646b0fe169306d903a2dc4aa39672122553136f7 100755
(executable)
--- a/
util/shlib_wrap.sh
+++ b/
util/shlib_wrap.sh
@@
-88,4
+88,10
@@
if [ -f "$LIBCRYPTOSO" -a -z "$preload_var" ]; then
export LD_PRELOAD _RLD_LIST DYLD_INSERT_LIBRARIES
fi
-exec "$@"
+cmd="$1"; [ -x "$cmd" ] || cmd="$cmd${EXE_EXT}"
+shift
+if [ $# -eq 0 ]; then
+ exec "$cmd" # old sh, such as Tru64 4.x, fails to expand empty "$@"
+else
+ exec "$cmd" "$@"
+fi