summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-11-04 13:04:47 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2010-11-04 13:04:47 -0300
commit90fd2556f0905fc370ebc3823afca21be2387b0b (patch)
tree54f39a302e6556be5184d28bbc4162186a86502e
parent133a65ceff1acd173c08dadb9cfc88d743041f0a (diff)
libremakepkg fix
librerelease fixed moving old packages
-rwxr-xr-xlibremakepkg2
-rwxr-xr-xlibrerelease6
2 files changed, 3 insertions, 5 deletions
diff --git a/libremakepkg b/libremakepkg
index 7197816..1053872 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -26,7 +26,7 @@ fi
source /etc/libretools.conf
echo "Updating the main chroot"
-mkarchroot -u -c ${CACHEDIR} ${CHROOTDIR}/${CHROOT}
+mkarchroot -u -c ${CACHEDIR} -- ${CHROOTDIR}/${CHROOT}
echo "Creating the package"
makechrootpkg -c -r ${CHROOTDIR} -l ${CHCOPY} -- $@
diff --git a/librerelease b/librerelease
index c6ceb14..8b8f5c8 100755
--- a/librerelease
+++ b/librerelease
@@ -61,18 +61,16 @@ if [ -e ~/.makepkg.conf ]; then source ~/.makepkg.conf; fi
PKGDEST=${PKGDEST:-.}
SRCPKGDEST=${SRCPKGDEST:-.}
-
# Init the batchfile
to_sftp "progress"
-# Move out the old packages
-
for _arch in ${arch[@]}; do
for pkg in ${pkgname[@]}; do
pkgfile="$PKGDEST/$pkg-$pkgver-$pkgrel-$_arch$PKGEXT"
if [ -e "$pkgfile" ]; then
+# Move out the old packages
# This has to be moved to repo-maintainer
- ssh parabola mv ${PARABOLAHOST}/$repo/os/$_arch/$pkg-*-*-$_arch$PKGEXT ${LIBREDESTDIR}/old/
+ ssh ${PARABOLAHOST} mv ${LIBREDESTDIR}/$repo/os/$_arch/$pkg-*-*-$_arch$PKGEXT ${LIBREDESTDIR}/old/
to_sftp "put $pkgfile ${LIBREDESTDIR}/$repo/os/$_arch/"
fi