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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Signed-off-by: Florian Pritz <bluewind@xxxxxxx>
---
 commitpkg |    2 +-
 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
-- 
1.7.2.3


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux