Adrian Schröter 2011-03-14 10:40:08 +00:00 committed by Git OBS Bridge
parent 3a78c53afd
commit 541c83f928

View File

@ -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