diff options
author | Travis Willard <travis@archlinux.org> | 2008-01-13 17:47:33 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-01-23 16:11:38 -0600 |
commit | eb7646ca18bf86036e6da576df8fae8bd78368f4 (patch) | |
tree | 8e9a60ffe959e73076137b1a195098e4dde3875d | |
parent | 97d4a8bbd02c6813a6ef03ac9e8c2c48d68015a3 (diff) | |
download | devtools-eb7646ca18bf86036e6da576df8fae8bd78368f4.tar.xz |
Ensure scp'ing the package file works when PKGDEST is defined.
Make the call to scp use $(basename $pkgfile) so that we don't get oddness.
Signed-off-by: Travis Willard <travis@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | extrapkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |