diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2012-02-25 15:03:33 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2012-02-25 15:03:33 +0100 |
commit | c6995346fd40daae39b098ee0d0a256cb27cb074 (patch) | |
tree | 52edf542512c1f690231790641951e0b9b6e70d1 | |
parent | 9ee14f58756dd533ab7603e417fdceb82f52e0ff (diff) | |
download | vim4projects-c6995346fd40daae39b098ee0d0a256cb27cb074.tar.gz vim4projects-c6995346fd40daae39b098ee0d0a256cb27cb074.tar.xz vim4projects-c6995346fd40daae39b098ee0d0a256cb27cb074.zip |
init.sh: formatting, comment
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-x | init.sh | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,7 @@ #!/bin/sh -# vim:set noet ts=4 sts=4: +# vim: noet:ts=8:sw=8 # jpokorny@redhat.com +# NOTE: not ready for arbitrary CWD, from . only # # internals @@ -24,7 +25,7 @@ check_nargs () { check_ret () { [ $1 -ne 0 -a $1 -ne $RET_DEL ] \ - && do_announce "action failed with exit status $1" $CLR_BAD + && do_announce "action failed with exit status $1" $CLR_BAD return $1 } @@ -74,8 +75,8 @@ require () { $tester $1 >/dev/null ret=$? [ $ret -eq 0 ] \ - && do_announce "require $1: checked ok" $CLR_OK \ - || do_announce "require $1: not met" $CLR_BAD + && do_announce "require $1: checked ok" $CLR_OK \ + || do_announce "require $1: not met" $CLR_BAD return $ret } |