From: Daniel Martí Date: Mon, 28 Apr 2014 21:48:12 +0000 (+0200) Subject: Small glob fix to fd-commit X-Git-Tag: 0.2~106 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b2ef2b1b65ebeeb8a9d414003556af84ced68ec0;p=fdroidserver.git Small glob fix to fd-commit --- diff --git a/fd-commit b/fd-commit index cfe5f1a9..e4012de5 100755 --- a/fd-commit +++ b/fd-commit @@ -30,7 +30,7 @@ if [ ! -d metadata ]; then fi while read line; do - if [[ "$line" == *??*metadata/*.txt ]]; then + if [[ "$line" == *\?\?*metadata/*.txt ]]; then new=true elif [[ "$line" == *M*metadata/*.txt ]]; then new=false