From fbc3929ec057bad608dd5e00b9bc02481c777796 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 16 Sep 2010 01:36:53 +0200 Subject: commitpkg: error out if ~/staging/$repo doesn't exist Signed-off-by: Florian Pritz Signed-off-by: Pierre Schmitz --- commitpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commitpkg') 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 -- cgit v1.2.3-70-g09d2