have iterate-ping-node display its logdir
Thierry Parmentelat [Sun, 8 Mar 2015 23:15:58 +0000 (00:15 +0100)]
system/iterate-ping-node

index cb95f78..12aa4fb 100755 (executable)
@@ -7,13 +7,14 @@ if [ "$1" == "-o" ] ; then
     logdir="$1"
     shift
     mkdir -p $logdir
+    extra_message="logdir=$logdir"
 fi
 
 [[ -n "$@" ]] && iterations=$1 || iterations=10
 
 buildname=$(basename $(pwd))
 
-echo buildname=$buildname, $iterations iterations
+echo "buildname=$buildname, $iterations iterations" $extra_message
 
 for attempt in $(seq $iterations); do