From: Adam Dickmeiss Date: Wed, 4 Nov 2009 12:01:29 +0000 (+0100) Subject: Avoid useless temp X-Git-Tag: v1.2.3~2^2~5 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=ad6263d16ca09b91677a00c6636fc9ea4d9a840e;p=pazpar2-moved-to-github.git Avoid useless temp --- diff --git a/test/run_pazpar2.sh b/test/run_pazpar2.sh index 544dc98..fd3cf49 100755 --- a/test/run_pazpar2.sh +++ b/test/run_pazpar2.sh @@ -40,11 +40,7 @@ CFG=${PREFIX}.cfg URLS=${PREFIX}_urls VALGRINDLOG=${PREFIX}_valgrind.log -usevalgrind=false if test -n "$PAZPAR2_USE_VALGRIND"; then - usevalgrind=$PAZPAR2_USE_VALGRIND; -fi -if $usevalgrind; then valgrind --leak-check=full --log-file=$VALGRINDLOG ../src/pazpar2 -X -l pazpar2.log -f ${CFG} >extra_pazpar2.log 2>&1 & else YAZ_LOG=zoom,zoomdetails,debug,log,fatal ../src/pazpar2 -d -X -l pazpar2.log -f ${srcdir}/${CFG} >extra_pazpar2.log 2>&1 &