]> AND Private Git Repository - loba.git/blobdiff - Experimentations/run-all
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
run-all: fix usage message.
[loba.git] / Experimentations / run-all
index 9453bc3884f1c867787b48e756028a7fa68cd5d9..350f05f9d712af83d6a344999d4babcaee7954f3 100755 (executable)
@@ -5,7 +5,7 @@ set -e
 
 usage() {
     cat >&2 <<EOF
 
 usage() {
     cat >&2 <<EOF
-Usage: $0 [-c] <parameters file>
+Usage: $0 [OPTION] <parameters file>
 Options:
     -h  print this help
     -n  dry-run mode (for debugging)
 Options:
     -h  print this help
     -n  dry-run mode (for debugging)
@@ -108,7 +108,7 @@ for plat in "${PLATFORMS[@]}"; do
                     log "skipped (dry-run)"
                 else
                     echo "# ${cmd[@]}" > "$out"
                     log "skipped (dry-run)"
                 else
                     echo "# ${cmd[@]}" > "$out"
-                    "${cmd[@]}" > "$out" 2>&1
+                    "${cmd[@]}" >> "$out" 2>&1
                     tail -n4 "$out"
                 fi
             done
                     tail -n4 "$out"
                 fi
             done