summaryrefslogtreecommitdiff
path: root/src/mips64el-tools/add-mips64el
blob: bf046637f84900d58f6c83275ef8e2be7ed9d56c (plain)
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 $?