From 59d373a62b759c5096ecd090eff48c349d71dece Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 29 Nov 2007 00:36:31 -0600 Subject: Use full filename for scp upload Fix an issue where a missing add directory causes the package to be uploaded as a file named "add" Signed-off-by: Aaron Griffin --- extrapkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extrapkg b/extrapkg index b63d273..437b330 100755 --- a/extrapkg +++ b/extrapkg @@ -52,7 +52,7 @@ if [ "$1" = "-l" ]; then fi if [ "$repo" != "community" ]; then - scp ${scpopts} ${pkgfile} archlinux.org:staging/$repo/add + scp ${scpopts} ${pkgfile} archlinux.org:staging/$repo/add/${pkgfile} if [ "$(md5sum ${pkgfile} | cut -d' ' -f1)" != "$(ssh archlinux.org md5sum staging/${repo}/add/$(basename ${pkgfile}) | cut -d' ' -f1)" ]; then echo "File got corrupted during upload, cancelled." exit 1 -- cgit v1.2.3-70-g09d2