X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=util%2Fshlib_wrap.sh;h=8775cb5411e1f2397eb0e138203b2c9636411f50;hp=9416d593d2b8d48fcb4579f6718826b8813501bd;hb=d1cf23ac86c05b22b8780e2c03b67230564d2d34;hpb=16bc45ba956fdf07c7cda7feda88de597569df63 diff --git a/util/shlib_wrap.sh b/util/shlib_wrap.sh index 9416d593d2..8775cb5411 100755 --- a/util/shlib_wrap.sh +++ b/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