diff --git a/recompress b/recompress index 60f9036..56b350e 100644 --- a/recompress +++ b/recompress @@ -50,7 +50,11 @@ if [ -z "$MYOUTDIR" ]; then fi for i in $FILES; do - FILE=`ls -1 "$i" || ls -1 "_service:download:$i"` + FILE=`ls -1 "$i" || ls -1 "_service:*:$i"` + if [ ! -f "$FILE" ]; then + echo "Unknown file $i" + exit 1 + fi UNCOMPRESS="cat" BASENAME="$FILE" if [ "${FILE%.gz}" != "$FILE" ]; then