summaryrefslogtreecommitdiffstats
path: root/extrapkg
diff options
context:
space:
mode:
Diffstat (limited to 'extrapkg')
-rwxr-xr-xextrapkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/extrapkg b/extrapkg
index e4708ac..1212b53 100755
--- a/extrapkg
+++ b/extrapkg
@@ -63,7 +63,7 @@ if [ "$1" = "-l" ]; then
fi
if [ "$repo" != "community" ]; then
- scp ${scpopts} ${pkgfile} archlinux.org:staging/$repo/add/${pkgfile}
+ scp ${scpopts} ${pkgfile} archlinux.org:staging/$repo/add/$(basename ${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