diff options
Diffstat (limited to 'src/mips64el-tools/mips-add')
-rwxr-xr-x | src/mips64el-tools/mips-add | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mips64el-tools/mips-add b/src/mips64el-tools/mips-add new file mode 100755 index 0000000..da9b431 --- /dev/null +++ b/src/mips64el-tools/mips-add @@ -0,0 +1,7 @@ +#!/bin/bash +source /etc/libretools.conf +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 |