scripts/makedist.sh: fix test usage
Checkbashisms (part of the Debian devscripts) pionted this out.
This commit is contained in:
parent
11626e48bf
commit
87593f95d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue