summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-09-16 01:36:53 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-09-16 06:15:40 +0200
commitfbc3929ec057bad608dd5e00b9bc02481c777796 (patch)
treeb5bbe955a48c29e91942031cff2bf1b5c335b3f7
parent8cb3bcc17bcf58a7e6cbe4ac6bf6d6b17d24886c (diff)
downloaddevtools-fbc3929ec057bad608dd5e00b9bc02481c777796.tar.xz
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>
-rwxr-xr-xcommitpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitpkg b/commitpkg
index 03488e0..86485dc 100755
--- a/commitpkg
+++ b/commitpkg
@@ -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