summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-09-13 19:56:46 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-09-13 19:56:46 -0300
commit3d3156b97f679a84210c08ca7e7563691d988a3b (patch)
tree2dffb4011db635aabc00be08ecff83896228fc0a
parent20aae24315eb580855ed698f4324d2460fa1f669 (diff)
Export the CARCH correctly
-rwxr-xr-xlibrerepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/librerepkg b/librerepkg
index d506003..5cb0fa3 100755
--- a/librerepkg
+++ b/librerepkg
@@ -60,11 +60,11 @@ for _arch in ${arch[@]}; do
stdnull pushd ${tempdir}
+ echo "export CARCH=${_arch}" >> PKGBUILD
+
msg2 "Updating md5sums"
makepkg -gp rePKGBUILD >> rePKGBUILD
- echo "export CARCH=${_arch}" >> rePKGBUILD
-
msg "Repackaging using makepkg"
makepkg -Lcdp rePKGBUILD ${makepkgflags}