Skip to content

Commit

Permalink
Make the configure script argument tests work everywhere
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1358 b64f7644-9d1e-0410-96f1-a4d463321fa5
  • Loading branch information
superdump committed Mar 22, 2008
1 parent 8838a10 commit 64e8482
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64e8482

Please sign in to comment.