Commit 3e48c330 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

parent 6e78f7b4
......@@ -174,7 +174,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])
AC_ARG_WITH(macosx-version-min,
[AS_HELP_STRING([--with-macosx-version-min=VERSION],
[compile for MacOS X VERSION and above])])
......@@ -3693,14 +3693,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
......
......@@ -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
......
......@@ -88,11 +88,11 @@ vlc_install_object() {
local lib_install_prefix="@loader_path/../lib"
fi
if ! test -e ${src_lib}; then
if test ! -e ${src_lib}; then
return
fi
if ( (! test -e ${lib_dest}) || test ${src_lib} -nt ${lib_dest} ); then
if ( (test ! -e ${lib_dest}) || test ${src_lib} -nt ${lib_dest} ); then
mkdir -p ${dest_dir}
......
#!/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