]> git.sesse.net Git - vlc/commitdiff
Fix inverted shell negation "! test" -> "test !"
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 28 Feb 2012 16:28:09 +0000 (18:28 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 28 Feb 2012 16:28:09 +0000 (18:28 +0200)
configure.ac
modules/genmf
projects/macosx/framework/Pre-Compile.sh
projects/macosx/frontrow_plugin/BackRowHeaders/install.sh
test/modules/stream_filter/httplive/traffic-shaping.sh

index 6d2562c0bb1f922e00fa06c2a7f9f42350797678..efb2e99326351f584f5da87e3d3e1c6b8f61a5b9 100644 (file)
@@ -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
index aefd560b16d9a3bc11170efb95d8aff22e7257e6..67fe47c5b5f7136905eef9bd00dcb5d3b89d3658 100755 (executable)
@@ -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
index 9de73215e2236d85cc0eccdbaeb45282424194cf..1b4fa3da84172700e4d2ce9a68187e192cfa10ad 100644 (file)
@@ -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}
 
index 4c49e3e14e6c1abb5c67fc47512a757838510005..f77c244b338428f1b540e35c2c3a78d07365cbf2 100755 (executable)
@@ -1,6 +1,6 @@
 #!/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
index cf67c897c1ae6441667270ef0e3dcd9a097f9415..1b63c91b4987aba7843b7a27984a559e1c6fae73 100755 (executable)
@@ -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