1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
eval "$( declare -f build | \ sed ' /install\( .*\)\? -race /d ' declare -f package_go-pie | \ sed ' s,\(/linux_\)amd64\([_/]\),\1386\2,g ' )" eval "$( declare -f build check _package \ | sed ' s/\(export GOARCH=\)amd64/\1386 GO386=387/ ' )"