summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease2
1 files changed, 1 insertions, 1 deletions
diff --git a/librerelease b/librerelease
index 8b8f5c8..836cdfc 100755
--- a/librerelease
+++ b/librerelease
@@ -78,7 +78,7 @@ for _arch in ${arch[@]}; do
done
# Use pkgbase for the finding the sources tar
-[[ ! -z ${pkgbase} ]] && pkgbase=${pkgname}
+[[ -z ${pkgbase} ]] && pkgbase=${pkgname}
makepkg --source
to_sftp "put $SRCPKGDEST/$pkgbase-$pkgver-$pkgrel$SRCEXT ${LIBRESRCDIR}/$repo"