Commit 87593f95 authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Max Kellermann

scripts/makedist.sh: fix test usage

Checkbashisms (part of the Debian devscripts) pionted this out.
parent 11626e48
...@@ -3,7 +3,7 @@ PWD=`pwd` ...@@ -3,7 +3,7 @@ PWD=`pwd`
## If we're not in the scripts directory ## If we're not in the scripts directory
## assume the base directory. ## assume the base directory.
if test "`basename $PWD`" == "scripts"; then if test "`basename $PWD`" = "scripts"; then
cd ../ cd ../
else else
MYOLDPWD=`pwd` MYOLDPWD=`pwd`
...@@ -18,7 +18,7 @@ fi ...@@ -18,7 +18,7 @@ fi
make make
make dist make dist
if test "`basename $PWD`" == "scripts"; then if test "`basename $PWD`" = "scripts"; then
cd contrib/ cd contrib/
else else
cd $MYOLDPWD cd $MYOLDPWD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment