summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorsuperdump <[email protected]>2008-03-22 19:22:24 +0000
committersuperdump <[email protected]>2008-03-22 19:22:24 +0000
commit64e8482abad07e7d000c7397755d67767c7ea34d (patch)
treecee6739e82a58243b2774affca5a6d0ab10fd718 /configure
parent8838a107f0b20ea9cc2d877cb4cda48cbbafe619 (diff)
Make the configure script argument tests work everywhere
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1358 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure b/configure
index e4ef9a04b..6af9a8526 100755
--- a/configure
+++ b/configure
@@ -98,16 +98,14 @@ MAKE=make
fi
# Unless the user wants a release build, configure for SVN snapshots
-if [[ $1 = "--release" ]] || [[ $2 = "--release" ]]
-then
+if test "$1" = "--release" || test "$2" = "--release"; then
SNAPSHOT=0
else
SNAPSHOT=1
fi
# We fought the law and the law won
-if [[ $1 = "--libdvdcss" ]] || [[ $2 = "--libdvdcss" ]]
-then
+if test "$1" = "--libdvdcss" || test "$2" = "--libdvdcss"; then
CSS=1
else
CSS=0