summaryrefslogtreecommitdiff
path: root/taler-build/update_merchant.sh
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-19 12:09:23 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-19 12:09:23 +0100
commita6e53d156ef1a1bac303808eee486a5248def122 (patch)
tree19c65af116dc60f6f0ed607dac83fca54fb20083 /taler-build/update_merchant.sh
parent55c8529a5b79d3d891850a256b4b08208b72a3c1 (diff)
downloaddeployment-a6e53d156ef1a1bac303808eee486a5248def122.tar.gz
deployment-a6e53d156ef1a1bac303808eee486a5248def122.tar.bz2
deployment-a6e53d156ef1a1bac303808eee486a5248def122.zip
Fix variable default
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 e6ad8a7..96eb9f2 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 test "$1" = "--coverage"; then
+if test ${1:-notgiven} = "--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 test "$1" = "--coverage"; then
+if test ${1:-notgiven} = "--coverage"; then
TOP=$(pwd)
mkdir -p doc/coverage/
lcov -d $TOP -z