summaryrefslogtreecommitdiff
path: root/mips64el/mips-add
blob: 0d4e494981fa21b18e604a6bc6c05574c90abb0d (plain)
1
2
3
4
5
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