1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env bash # Change all arch array that aren't any or mips64el already # Copyright (C) 2011 Nicolás Reynolds <fauno@parabola.nu> # # License: Unspecified find -name 'PKGBUILD' -exec sed -i "s/^\(arch=([^)anym]\+\))/\1 'mips64el')/" '{}' \; exit $?