summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-11-09 16:51:26 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-11-09 16:51:26 -0300
commitb982c1b154300008b486385565f95743aed716dc (patch)
treee14fba92deae2864ffd2b589eb6ead7203725c6d
parent90fd2556f0905fc370ebc3823afca21be2387b0b (diff)
fixed stupid bug
-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"