From: Stephen Finucane Date: Fri, 7 Oct 2016 17:58:03 +0000 (+0100) Subject: parsemail-batch: Replace tabs with spaces X-Git-Tag: v2.0.0-rc1~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46b3aa94f5af1959eb0d67f0faa419ab8b107f29;p=thirdparty%2Fpatchwork.git parsemail-batch: Replace tabs with spaces Let's keep our Bash scripts consistent with our Python. Signed-off-by: Stephen Finucane --- diff --git a/patchwork/bin/parsemail-batch.sh b/patchwork/bin/parsemail-batch.sh index 06de3d77..c94655bf 100755 --- a/patchwork/bin/parsemail-batch.sh +++ b/patchwork/bin/parsemail-batch.sh @@ -23,8 +23,8 @@ PATCHWORK_BINDIR=`dirname $0` if [ $# -lt 1 ] then - echo "usage: $0 [options]" >&2 - exit 1 + echo "usage: $0 [options]" >&2 + exit 1 fi mail_dir="$1" @@ -33,8 +33,8 @@ echo "dir: $mail_dir" if [ ! -d "$mail_dir" ] then - echo "$mail_dir should be a directory"? >&2 - exit 1 + echo "$mail_dir should be a directory"? >&2 + exit 1 fi shift @@ -42,6 +42,6 @@ shift ls -1rt "$mail_dir" | while read line; do - echo $line - $PATCHWORK_BINDIR/parsemail.sh $@ < "$mail_dir/$line" + echo $line + $PATCHWORK_BINDIR/parsemail.sh $@ < "$mail_dir/$line" done