Commit 8cbe58b2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix inverted shell negation "! test" -> "test !"

(cherry picked from commit 3e48c330dccfb4d90e0b3d97308038b6de3b570b)

Conflicts:

	configure.ac
parent 70d74b7f
......@@ -182,7 +182,7 @@ case "${host_os}" in
[AS_HELP_STRING([--with-macosx-sdk=DIR],
[compile using the SDK in DIR])])
test "${with_macosx_sdk}" = "" && with_macosx_sdk=/Developer/SDKs/MacOSX10.6.sdk
! test -d "${with_macosx_sdk}" && AC_MSG_ERROR([SDK "${with_macosx_sdk}" not found])
test ! -d "${with_macosx_sdk}" && AC_MSG_ERROR([SDK "${with_macosx_sdk}" not found])
CPP="${CPP} -isysroot ${with_macosx_sdk}"
CC="${CC} -isysroot ${with_macosx_sdk}"
CXX="${CXX} -isysroot ${with_macosx_sdk}"
......@@ -3766,14 +3766,14 @@ then
VLC_ADD_LIBS([macosx], [-Wl,-framework,QTKit -Wl,-framework,IOKit -Wl,-framework,AddressBook -Wl,-framework,WebKit])
if ! test -d ${CONTRIB_DIR}/Sparkle.framework
if test ! -d ${CONTRIB_DIR}/Sparkle.framework
then
AC_MSG_ERROR([Sparkle framework is required and was not found in ${CONTRIB_DIR}])
fi
VLC_ADD_LIBS([macosx], [-F${CONTRIB_DIR} -Wl,-framework,Sparkle])
VLC_ADD_OBJCFLAGS([macosx], [-F${CONTRIB_DIR}])
if ! test -d ${CONTRIB_DIR}/BGHUDAppKit.framework
if test ! -d ${CONTRIB_DIR}/BGHUDAppKit.framework
then
AC_MSG_ERROR([BGHUDAppKit framework is required and was not found in ${CONTRIB_DIR}])
fi
......
......@@ -48,7 +48,7 @@ process() {
}
for file in `find . -type f`; do
if ! test -e $file; then
if test ! -e $file; then
echo "$file doesn't exist"
continue
fi
......@@ -61,7 +61,7 @@ for file in `find . -type f`; do
libs=`otool -L $file 2>/dev/null | grep $prefix | cut -d\ -f 1`
first=y
for i in "" $libs; do
if ! test -z $i; then
if test ! -z $i; then
if test $islib = y -a $first = y; then
install_name_tool -id `echo $i | sed -e "s,$prefix,$new_prefix,"` $file
first=n
......
......@@ -13,7 +13,7 @@ while test "$1"
do
dir="$1"
modf="modules/${dir}/Modules.am"
if ! test -f "$modf"; then
if test ! -f "$modf"; then
echo "$modf does not exist!" >&2
exit 1
fi
......
#!/bin/sh
if ! test -e $PWD/Headers/BREvent.h; then
if test ! -e $PWD/Headers/BREvent.h; then
echo "Please run this script from BackRowHeaders directory"
exit 1
else
......
......@@ -34,7 +34,7 @@ function traffic_shaping() {
# tc qdisc add dev eth2 root tbf rate 50kbit burst 2kbit latency 70ms peakrate 52kbit mtu 1500
traffic_shaping
if ! test "${RESULT}" = "0"; then
if test "${RESULT}" != "0"; then
exit 1
fi
exit 0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment