diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-04-07 08:50:06 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-04-07 08:50:06 +0200 |
commit | 1a36ef888295afd6592d617a7b3657386133d43f (patch) | |
tree | d65a58beb1f7e76ba4261f4831c55de258e7bc1c /utils.sh | |
parent | 721feafdb56c18fb7424d505377abe80d78f4e7b (diff) | |
parent | eb936c2d958e3ac2422bcecd073c8e0ef1a60abf (diff) |
Merge conflicts
Diffstat (limited to 'utils.sh')
-rwxr-xr-x | utils.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -15,11 +15,12 @@ run_cmd () local cmd="$1" local title="$2" - if ! eval $cmd >>$LOG 2>&1 ; then - printf "%25s%15s\n" "'$title'" "FAIL" + printf "%15s" "'$title'" + if ! eval $cmd >>$LOG 2>&1 ; then + printf "%25s\n" "FAIL" exit 1 fi - printf "%25s%15s\n" "'$title'" "DONE" + printf "%25s\n" "DONE" } |