aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/makedist.sh
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-07-17 21:09:52 +0200
committerMax Kellermann <max@duempel.org>2011-08-27 11:27:16 +0200
commit87593f95d43e1e113d3ed55d2dc038e3f846cc30 (patch)
treee02a6c3bd32965c514e5e7f9b64696072effb790 /scripts/makedist.sh
parent11626e48bfb1dbf265e7eba3777c77d5ab6bd72b (diff)
downloadmpd-87593f95d43e1e113d3ed55d2dc038e3f846cc30.tar.gz
mpd-87593f95d43e1e113d3ed55d2dc038e3f846cc30.tar.xz
mpd-87593f95d43e1e113d3ed55d2dc038e3f846cc30.zip
scripts/makedist.sh: fix test usage
Checkbashisms (part of the Debian devscripts) pionted this out.
Diffstat (limited to '')
-rwxr-xr-xscripts/makedist.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makedist.sh b/scripts/makedist.sh
index d342cea3a..7f8624d8f 100755
--- a/scripts/makedist.sh
+++ b/scripts/makedist.sh
@@ -3,7 +3,7 @@ PWD=`pwd`
## If we're not in the scripts directory
## assume the base directory.
-if test "`basename $PWD`" == "scripts"; then
+if test "`basename $PWD`" = "scripts"; then
cd ../
else
MYOLDPWD=`pwd`
@@ -18,7 +18,7 @@ fi
make
make dist
-if test "`basename $PWD`" == "scripts"; then
+if test "`basename $PWD`" = "scripts"; then
cd contrib/
else
cd $MYOLDPWD