aboutsummaryrefslogtreecommitdiff
path: root/openssl/util/shlib_wrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/util/shlib_wrap.sh')
-rw-r--r--openssl/util/shlib_wrap.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/openssl/util/shlib_wrap.sh b/openssl/util/shlib_wrap.sh
index 9416d593d..8775cb541 100644
--- a/openssl/util/shlib_wrap.sh
+++ b/openssl/util/shlib_wrap.sh
@@ -90,4 +90,8 @@ fi
cmd="$1${EXE_EXT}"
shift
-exec "$cmd" "$@"
+if [ $# -eq 0 ]; then
+ exec "$cmd" # old sh, such as Tru64 4.x, fails to expand empty "$@"
+else
+ exec "$cmd" "$@"
+fi