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
|
## 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
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user