summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}