diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2009-05-23 12:45:15 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2009-05-23 12:45:15 +0000 |
commit | 87193db30b09a877425031581a0308d5b166542f (patch) | |
tree | 0633b53d8cc38773e282af5b6d2e70d32c31e562 /gprintify | |
parent | 935b0dce9f6856643a418446845320ede0692c19 (diff) | |
download | spec-helper-87193db30b09a877425031581a0308d5b166542f.tar spec-helper-87193db30b09a877425031581a0308d5b166542f.tar.gz spec-helper-87193db30b09a877425031581a0308d5b166542f.tar.bz2 spec-helper-87193db30b09a877425031581a0308d5b166542f.tar.xz spec-helper-87193db30b09a877425031581a0308d5b166542f.zip |
cosmetics
Diffstat (limited to 'gprintify')
-rwxr-xr-x | gprintify | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -13,8 +13,12 @@ fi scripts= for f in `ls $RPM_BUILD_ROOT/etc/rc.d/init.d/* $RPM_BUILD_ROOT/etc/init.d/* 2> /dev/null`; do - test -f $f && egrep -q '[[:space:]]*\.[[:space:]]+.*/functions' $f && scripts="$scripts $f" + test -f $f || continue + egrep -q '[[:space:]]*\.[[:space:]]+.*/functions' $f || continue + scripts="$scripts $f" done if [ -n "$scripts" ]; then - echo -n "Gprintifying init scripts..." && /usr/share/spec-helper/gprintify.py $scripts && echo "done" + echo -n "Gprintifying init scripts..." + /usr/share/spec-helper/gprintify.py $scripts + echo "done" fi |