summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}