summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-10-27 22:10:21 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-10-27 22:10:21 -0300
commit133a65ceff1acd173c08dadb9cfc88d743041f0a (patch)
treecc7801da75d37e46413a3e400edce8ff161cda87 /librerelease
parent46ba7237fc28b27f1a98df030f2b759404ee493b (diff)
Use pkgbase for finding the sources.tar.gz
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease4
1 files changed, 3 insertions, 1 deletions
diff --git a/librerelease b/librerelease
index b53b9d8..c6ceb14 100755
--- a/librerelease
+++ b/librerelease
@@ -79,8 +79,10 @@ for _arch in ${arch[@]}; do
done
done
+# Use pkgbase for the finding the sources tar
+[[ ! -z ${pkgbase} ]] && pkgbase=${pkgname}
makepkg --source
-to_sftp "put $SRCPKGDEST/$pkgname-$pkgver-$pkgrel$SRCEXT ${LIBRESRCDIR}/$repo"
+to_sftp "put $SRCPKGDEST/$pkgbase-$pkgver-$pkgrel$SRCEXT ${LIBRESRCDIR}/$repo"
sftp -b ${batchfile} ${PARABOLAHOST}