summaryrefslogtreecommitdiff
path: root/taler-build/update_merchant.sh
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-19 11:46:57 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-19 11:46:57 +0100
commit5256240cc7517f49dfaa5902edb79bcd55d382a6 (patch)
treed7f0598ca4c9e01933f7c7b8b2609ad1552f5fbf /taler-build/update_merchant.sh
parent6fb9dd9514014fb1628ed2e55b950bdc7474c4d9 (diff)
downloaddeployment-5256240cc7517f49dfaa5902edb79bcd55d382a6.tar.gz
deployment-5256240cc7517f49dfaa5902edb79bcd55d382a6.tar.bz2
deployment-5256240cc7517f49dfaa5902edb79bcd55d382a6.zip
Fix shell script 'if' condition
Diffstat (limited to 'taler-build/update_merchant.sh')
-rwxr-xr-xtaler-build/update_merchant.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/taler-build/update_merchant.sh b/taler-build/update_merchant.sh
index b2850b6..2bd3f43 100755
--- a/taler-build/update_merchant.sh
+++ b/taler-build/update_merchant.sh
@@ -15,7 +15,7 @@ git reset --hard FETCH_HEAD
git submodule update --init --force
./bootstrap
-if "$1" = "--coverage"; then
+if test "$1" = "--coverage"; then
./configure CFLAGS='-ggdb -O0' \
--prefix=$HOME/local --with-gnunet=$HOME/local \
--with-mint=$HOME/local \
@@ -34,7 +34,7 @@ make
make install
TALER_MERCHANTDB_POSTGRES_CONFIG=$TALER_CHECKDB TALER_EXCHANGEDB_POSTGRES_CONFIG=$TALER_CHECKDB make check
-if "$1" = "--coverage"; then
+if test "$1" = "--coverage"; then
TOP=$(pwd)
mkdir -p doc/coverage/
lcov -d $TOP -z