summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-11-09 15:35:37 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-11-09 15:35:37 -0600
commit0d9d4265bc723c148446a088c91b959e8c06a32a (patch)
treecf9c99aeb3b8b38e575feb5d237239bc3bff248a
parent5c227ce06bb834c1a8ba56870b5d6656765888a7 (diff)
parentb982c1b154300008b486385565f95743aed716dc (diff)
Merge branch 'master' of parabolagnulinux.org:~/projects/libretools
-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"