diff options
Diffstat (limited to 'mipsrelease')
-rwxr-xr-x | mipsrelease | 5 |
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 $? |