summaryrefslogtreecommitdiff
path: root/mips64el/mips-add
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:35:07 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:35:07 -0300
commit0bdf0e254112eae0332b4ae85f417abb7091f690 (patch)
tree0778e5d2b94fb31c3238a0d19c870ac7ef9abc9c /mips64el/mips-add
parent8a97ce469507f3c4c0ea06ad0025b57405e42283 (diff)
parent8a385be009f51b1af2cd8fd82c08b6b7c2c7f8b0 (diff)
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
Conflicts: toru
Diffstat (limited to 'mips64el/mips-add')
-rw-r--r--mips64el/mips-add6
1 files changed, 6 insertions, 0 deletions
diff --git a/mips64el/mips-add b/mips64el/mips-add
new file mode 100644
index 0000000..0d4e494
--- /dev/null
+++ b/mips64el/mips-add
@@ -0,0 +1,6 @@
+#!/bin/bash
+if ! grep mips64el PKGBUILD >/dev/null; then # Add mips64el in ${arch} array if it isn't 'any'
+ warning "Adding mips64el arch"
+ sed -i "s/^\(arch=([^)anym]\+\))/\1 'mips64el')/" "PKGBUILD"
+ librecommit PKGBUILD
+fi