From: Dennis Schafroth Date: Tue, 29 May 2012 09:59:44 +0000 (+0200) Subject: Setup TMP_DIR for par.sh X-Git-Tag: v1.6.14~13 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=da92924bd97adfe0b57fb317c8893eb5da0e9815;p=pazpar2-moved-to-github.git Setup TMP_DIR for par.sh --- diff --git a/perf/bash/par_forever.sh b/perf/bash/par_forever.sh old mode 100644 new mode 100755 index 8f9de2f..96503a2 --- a/perf/bash/par_forever.sh +++ b/perf/bash/par_forever.sh @@ -1,3 +1,6 @@ while true; do - sh par.sh par.config.dennis + export TMP_DIR=run_`date +"%Y%m%d_%H%M%S"`/ + mkdir -p ${TMP_DIR} + sh par.sh par.config.dennis + sleep 60 done \ No newline at end of file