summaryrefslogtreecommitdiff
path: root/utils.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-03 05:18:38 -0700
committerAndreas Maunz <andreas@maunz.de>2011-04-03 05:18:38 -0700
commit74f0cf426d88a08e916fe5b8c69489cd6ce36567 (patch)
treead42dd5a50f1fd7b3db17ac9a34a81a281c6622e /utils.sh
parenta8df41cf1642134e467642658ffe3b1548612e4f (diff)
Nicer format2
Diffstat (limited to 'utils.sh')
-rw-r--r--utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.sh b/utils.sh
index cc50716..19b047a 100644
--- a/utils.sh
+++ b/utils.sh
@@ -20,7 +20,7 @@ run_cmd ()
echo -n "$title"
if ! eval $cmd >>$LOG 2>&1 ; then
- printf "$format\n" "'$title'" "FAIL"
+ printf "%$(len)s\n" "'$title'" "FAIL"
exit 1
fi
printf "$format\n" "'$title'" "DONE"