Skip to content

Commit

Permalink
Merge pull request #391 from abs0/b78188fbbfe434940e5ed8b33a3aa00e0e2…
Browse files Browse the repository at this point in the history
…3bc7d

Use the more portable "=" in shell test usage, rather than "=="
  • Loading branch information
elupus committed Aug 31, 2011
2 parents 5c4518b + b78188f commit 8857a0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions configure.in
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down
10 changes: 5 additions & 5 deletions lib/libdvd/build-xbmc-win32.sh
Expand Up @@ -3,7 +3,7 @@
MAKECLEAN=0
MAKEFLAGS=""

if [ "$1" == "clean" ]
if [ "$1" = "clean" ]
then
MAKECLEAN=1
fi
Expand All @@ -15,7 +15,7 @@ fi
#libdvdcss
cd libdvdcss
echo "***** Cleaning libdvdcss *****"
if [ $MAKECLEAN == 1 ]
if [ $MAKECLEAN = 1 ]
then
make distclean
fi
Expand All @@ -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
Expand All @@ -54,7 +54,7 @@ cd ..
#libdvdnav
cd libdvdnav
echo "***** Cleaning libdvdnav *****"
if [ $MAKECLEAN == 1 ]
if [ $MAKECLEAN = 1 ]
then
make distclean
fi
Expand All @@ -77,4 +77,4 @@ gcc \
strip -S obj/libdvdnav.dll
cd ..
cp libdvdnav/obj/libdvdnav.dll /xbmc/system/players/dvdplayer/
echo "***** Done *****"
echo "***** Done *****"

0 comments on commit 8857a0d

Please sign in to comment.