commitpkg: error out if ~/staging/$repo doesn't exist

Signed-off-by: Florian Pritz <bluewind@xssn.at>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Florian Pritz 2010-09-16 01:36:53 +02:00 committed by Pierre Schmitz
parent 8cb3bcc17b
commit fbc3929ec0
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ for _arch in ${arch[@]}; do
fi
echo -n 'uploading '
rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts --partial "${pkgfile}" -e ssh $server:staging/$repo || abort
rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts --partial "${pkgfile}" -e ssh "$server:staging/$repo/$pkgfile" || abort
done
archrelease $repo-${_arch} || abort
done