summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-10 13:49:57 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-10 13:49:57 -0300
commit4d93b3d13ff18a96bd7679fa183892caad60a557 (patch)
tree25b10f7d396088fc8bf62110fbdadd1a180f6953
parentd96b9e839c3eca1f6015e967f90e044d5f7ab09e (diff)
Fixed releasing
-rwxr-xr-xmipsrelease5
1 files changed, 3 insertions, 2 deletions
diff --git a/mipsrelease b/mipsrelease
index 140e524..354bcb9 100755
--- a/mipsrelease
+++ b/mipsrelease
@@ -8,6 +8,7 @@
# $2+ packages
source /etc/makepkg.conf
+source /etc/libretools.conf
repo=$1; shift
@@ -19,10 +20,10 @@ popd >/dev/null
source PKGBUILD
makepkg --source
-[ ! -d ${WORKDIR}/abs/${CARCH}/${repo} ] && mkdir -p ${WORKDIR}/${CARCH}/${repo} >/dev/null
+mkdir -p ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null
pushd ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null
- tar xvf $SRCPKGDEST/${pkgbase:-${pkgname[0]}}-${pkgver}-${pkgrel}-${CARCH}${SRCEXT}
+ tar xvf $SRCPKGDEST/${pkgbase:-${pkgname[0]}}-${pkgver}-${pkgrel}${SRCEXT}
popd >/dev/null
exit $?