summaryrefslogtreecommitdiff
path: root/librerepkg
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-06-04 19:16:03 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-06-04 19:16:03 -0300
commit569a3ad411489a31ccadcd484f6851d31e691518 (patch)
tree19a5bb226540f0286c22a89867ae4e5eaa203079 /librerepkg
parentd469eb6ba3891e93373dd899a7b0660c1101e12d (diff)
Fixed a typo on librerepkg and a better rePKGBUILD.proto
Diffstat (limited to 'librerepkg')
-rwxr-xr-xlibrerepkg14
1 files changed, 9 insertions, 5 deletions
diff --git a/librerepkg b/librerepkg
index 11962ff..5125023 100755
--- a/librerepkg
+++ b/librerepkg
@@ -47,13 +47,17 @@ while getopts 'h' arg; do
esac
done
-stdnull "tempdir=$(mktemp -d /tmp/$(basename $PWD).XXXXX)"
+tempdir=$(mktemp -d /tmp/$(basename $PWD).XXXXX)
msg "Repackaging: $pkgname $pkgver-$pkgrel ($(date -u))"
cp ./* ${tempdir}/
-stdnull "pushd ${tempdir}"
+
+stdnull pushd ${tempdir}
+
msg2 "Updating md5sums"
-makepkg -gp rePKGBUILD >> PKGBUILD
+makepkg -gp rePKGBUILD >> rePKGBUILD
+
msg "Repackaging using makepkg"
-makepkg -Lcp rePKGBULD
-stdnull "popd ${tempdir}"
+makepkg -Lcp rePKGBUILD
+
+stdnull popd ${tempdir}