summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/mips64el-tools/mips-add5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mips64el-tools/mips-add b/src/mips64el-tools/mips-add
index da9b431..21fcfba 100755
--- a/src/mips64el-tools/mips-add
+++ b/src/mips64el-tools/mips-add
@@ -1,7 +1,8 @@
#!/bin/bash
-source /etc/libretools.conf
+. libremessages
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
+ git add PKGBUILD
+ git commit
fi