summaryrefslogtreecommitdiff
path: root/src/mips64el-tools/add-mips64el
diff options
context:
space:
mode:
Diffstat (limited to 'src/mips64el-tools/add-mips64el')
-rwxr-xr-xsrc/mips64el-tools/add-mips64el6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mips64el-tools/add-mips64el b/src/mips64el-tools/add-mips64el
new file mode 100755
index 0000000..17b167b
--- /dev/null
+++ b/src/mips64el-tools/add-mips64el
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# Change all arch array that aren't any or mips64el already
+
+find -name 'PKGBUILD' -exec sed -i "s/^\(arch=([^)anym]\+\))/\1 'mips64el')/" '{}' \;
+
+exit $?