diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-07 00:17:08 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-07 00:17:08 -0500 |
commit | e9bc885c355babf7851de31db8e1920dde752993 (patch) | |
tree | fd39b7d6401ead53942f66bfc4219a06f386a23f /src/mips64el-tools/mips-add | |
parent | c74d072dc83c5e3b3d9462678884cd0411a7d1d0 (diff) |
organize the files
Diffstat (limited to 'src/mips64el-tools/mips-add')
-rw-r--r-- | 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 100644 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 |