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