mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-12 10:20:19 +01:00
tests: fix handling of $NMTST_LIBTOOL in "tools/run-nm-test.sh" script
(cherry picked from commit 0bd8160029)
This commit is contained in:
parent
df626ef80b
commit
20cc1385dd
1 changed files with 4 additions and 4 deletions
|
|
@ -96,12 +96,12 @@ else
|
|||
NMTST_USE_VALGRIND=0
|
||||
fi
|
||||
|
||||
if [ -n "${NMTST_LIBTOOL-:x}" ]; then
|
||||
NMTST_LIBTOOL=(sh "$SCRIPT_PATH/../libtool" --mode=execute)
|
||||
elif [ -n "${NMTST_LIBTOOL-x}" ]; then
|
||||
if [ -z "${NMTST_LIBTOOL+x}" ]; then
|
||||
NMTST_LIBTOOL=(sh "$SCRIPT_PATH/../libtool" "--mode=execute")
|
||||
elif [ -z "$NMTST_LIBTOOL" ]; then
|
||||
NMTST_LIBTOOL=()
|
||||
else
|
||||
NMTST_LIBTOOL=($NMTST_LIBTOOL --mode=execute)
|
||||
NMTST_LIBTOOL=("$NMTST_LIBTOOL" "--mode=execute")
|
||||
fi
|
||||
unset TEST
|
||||
while test $# -gt 0; do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue