From 87593f95d43e1e113d3ed55d2dc038e3f846cc30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Sun, 17 Jul 2011 21:09:52 +0200 Subject: [PATCH] scripts/makedist.sh: fix test usage Checkbashisms (part of the Debian devscripts) pionted this out. --- scripts/makedist.sh | 4 ++-- 1 file 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