From 2727e8e79bd5901aa7f2c719c65b7d8647cb82ec Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 2 Aug 2011 21:02:15 +0100 Subject: Fix getgmissing --- getgmissing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 getgmissing.sh diff --git a/getgmissing.sh b/getgmissing.sh old mode 100644 new mode 100755 index d936425..5436fc2 --- a/getgmissing.sh +++ b/getgmissing.sh @@ -7,6 +7,6 @@ getgbook -p $1 2>/dev/null | while read i do code=`echo $i|awk '{print $1}'` num=`echo $i|awk '{print $2}'` - test -n "$num" && num=`printf '%05d' || num=$code + test -n "$num" && num=`printf '%04d' || num=$code test -f $num.png || echo $code | getgbook $1 done -- cgit v1.2.3