diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-28 21:23:49 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-28 21:23:49 -0500 |
commit | 207a930a564e8157e24c3e7f5fbe987494b73d7b (patch) | |
tree | 29850fa85c7ea9525dbc4ae9469a268115d8e73e /mips64el/mips-add | |
parent | 6633c1d07a2b408dd74ad909326a54f94b2fdfdf (diff) |
* Cleanup code + arch specific separated
Diffstat (limited to 'mips64el/mips-add')
-rw-r--r-- | mips64el/mips-add | 6 |
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 |