Deleted Added
full compact
shlib_wrap.sh.in (1.1.1.2) shlib_wrap.sh.in (1.1.1.1)
1#!/bin/sh
2
1#!/bin/sh
2
3# To test this OpenSSL version's applications against another version's
4# shared libraries, simply set
5#
6# OPENSSL_REGRESSION=/path/to/other/OpenSSL/build/tree
7if [ -n "$OPENSSL_REGRESSION" ]; then
8 shlibwrap="$OPENSSL_REGRESSION/util/shlib_wrap.sh"
9 if [ -x "$shlibwrap" ]; then
10 # We clear OPENSSL_REGRESSION to avoid a loop, should the shlib_wrap.sh
11 # we exec also support that mechanism...
12 OPENSSL_REGRESSION= exec "$shlibwrap" "$@"
13 else
14 if [ -f "$shlibwrap" ]; then
15 echo "Not permitted to run $shlibwrap" >&2
16 else
17 echo "No $shlibwrap, perhaps OPENSSL_REGRESSION isn't properly set?" >&2
18 fi
19 exit 1
20 fi
21fi
22
23[ $# -ne 0 ] || set -x # debug mode without arguments:-)
24
25THERE="`echo $0 | sed -e 's|[^/]*$||' 2>/dev/null`.."
26[ -d "${THERE}" ] || exec "$@" # should never happen...
27
28# Alternative to this is to parse ${THERE}/Makefile...
29LIBCRYPTOSO="${THERE}/libcrypto.so"
30if [ -f "$LIBCRYPTOSO" ]; then

--- 98 unchanged lines hidden ---
3[ $# -ne 0 ] || set -x # debug mode without arguments:-)
4
5THERE="`echo $0 | sed -e 's|[^/]*$||' 2>/dev/null`.."
6[ -d "${THERE}" ] || exec "$@" # should never happen...
7
8# Alternative to this is to parse ${THERE}/Makefile...
9LIBCRYPTOSO="${THERE}/libcrypto.so"
10if [ -f "$LIBCRYPTOSO" ]; then

--- 98 unchanged lines hidden ---