aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Brownlee <abs@absd.org>2011-08-30 13:09:07 +0100
committerDavid Brownlee <abs@absd.org>2011-08-30 13:09:07 +0100
commitb78188fbbfe434940e5ed8b33a3aa00e0e23bc7d (patch)
tree6a6a8595c91970b8b1718855a12fd341a66cddf3
parent51df69b91153444b88d345c19642422a6b0f10f9 (diff)
Use the more portable "=" in shell test usage, rather than "=="
-rw-r--r--configure.in10
-rw-r--r--lib/libdvd/build-xbmc-win32.sh10
2 files changed, 10 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 3df4d5876b..02998b9db1 100644
--- a/configure.in
+++ b/configure.in
@@ -798,7 +798,7 @@ else
fi
# XRandR
-if test "$host_vendor" = "apple" || test "$use_x11" == "no"; then
+if test "$host_vendor" = "apple" || test "$use_x11" = "no"; then
use_xrandr="no"
AC_MSG_RESULT($xrandr_disabled)
else
@@ -815,7 +815,7 @@ if test "$host_vendor" = "apple" ; then
AC_MSG_NOTICE($goom_disabled)
DISABLE_GOOM=1
else
- if test "$use_goom" = "yes" && test "use_gl" == "yes"; then
+ if test "$use_goom" = "yes" && test "use_gl" = "yes"; then
AC_MSG_NOTICE($goom_enabled)
DISABLE_GOOM=0
else
@@ -825,7 +825,7 @@ else
fi
# RSXS
-if test "$use_rsxs" = "no" || test "$use_gl" == "no"; then
+if test "$use_rsxs" = "no" || test "$use_gl" = "no"; then
AC_MSG_NOTICE($rsxs_disabled)
DISABLE_RSXS=1
else
@@ -1653,7 +1653,7 @@ XB_CONFIG_MODULE([lib/ffmpeg], [
--disable-encoders \
--enable-encoder=ac3 \
--enable-encoder=aac \
- `if test "$use_ffmpeg_libvorbis" == "yes"; then echo --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis; else echo --disable-libvorbis; fi` \
+ `if test "$use_ffmpeg_libvorbis" = "yes"; then echo --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis; else echo --disable-libvorbis; fi` \
--disable-devices \
--disable-ffprobe \
--disable-ffplay \
@@ -1692,7 +1692,7 @@ XB_CONFIG_MODULE([lib/ffmpeg], [
--disable-encoders \
--enable-encoder=ac3 \
--enable-encoder=aac \
- `if test "$use_ffmpeg_libvorbis" == "yes"; then echo --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis; else echo --disable-libvorbis; fi` \
+ `if test "$use_ffmpeg_libvorbis" = "yes"; then echo --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis; else echo --disable-libvorbis; fi` \
--disable-decoder=mpeg_xvmc \
--disable-devices \
--disable-ffprobe \
diff --git a/lib/libdvd/build-xbmc-win32.sh b/lib/libdvd/build-xbmc-win32.sh
index a0ff00eabf..e32b81f2fa 100644
--- a/lib/libdvd/build-xbmc-win32.sh
+++ b/lib/libdvd/build-xbmc-win32.sh
@@ -3,7 +3,7 @@
MAKECLEAN=0
MAKEFLAGS=""
-if [ "$1" == "clean" ]
+if [ "$1" = "clean" ]
then
MAKECLEAN=1
fi
@@ -15,7 +15,7 @@ fi
#libdvdcss
cd libdvdcss
echo "***** Cleaning libdvdcss *****"
-if [ $MAKECLEAN == 1 ]
+if [ $MAKECLEAN = 1 ]
then
make distclean
fi
@@ -36,7 +36,7 @@ cp libdvdcss/src/.libs/libdvdcss-2.dll /xbmc/system/players/dvdplayer/
#libdvdread
cd libdvdread
echo "***** Cleaning libdvdread *****"
-if [ $MAKECLEAN == 1 ]
+if [ $MAKECLEAN = 1 ]
then
make distclean
fi
@@ -54,7 +54,7 @@ cd ..
#libdvdnav
cd libdvdnav
echo "***** Cleaning libdvdnav *****"
-if [ $MAKECLEAN == 1 ]
+if [ $MAKECLEAN = 1 ]
then
make distclean
fi
@@ -77,4 +77,4 @@ gcc \
strip -S obj/libdvdnav.dll
cd ..
cp libdvdnav/obj/libdvdnav.dll /xbmc/system/players/dvdplayer/
-echo "***** Done *****" \ No newline at end of file
+echo "***** Done *****"