diff options
author | Andy Polyakov <appro@openssl.org> | 2015-10-12 22:16:07 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-10-13 19:46:50 +0200 |
commit | 4ada8be2a6c538ee66a9a35a182052f359fc94b3 (patch) | |
tree | 941f1496ecc97a47007e8da5ae4a11d182569529 /util | |
parent | 1dce6c3f9eef0da2866b82d816dc945883427060 (diff) | |
download | openssl-4ada8be2a6c538ee66a9a35a182052f359fc94b3.tar.gz |
Test suite: minimal required to get mingw 'make test' work under Linux.
(part by Alessandro Ghedini)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/shlib_wrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/shlib_wrap.sh b/util/shlib_wrap.sh index 8775cb5411..646b0fe169 100755 --- a/util/shlib_wrap.sh +++ b/util/shlib_wrap.sh @@ -88,7 +88,7 @@ if [ -f "$LIBCRYPTOSO" -a -z "$preload_var" ]; then export LD_PRELOAD _RLD_LIST DYLD_INSERT_LIBRARIES fi -cmd="$1${EXE_EXT}" +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 "$@" |