Name 386 packages i386 instead of 386
Fixes backwards-compatible package naming.pull/9012/head
parent
3cf32a9358
commit
bbae6e7674
|
@ -24,7 +24,8 @@ while getopts hO:A:s arg; do
|
|||
case "$arg" in
|
||||
h) printHelp; exit 1;;
|
||||
O) OS="$OPTARG";;
|
||||
A) ARCH="$OPTARG";;
|
||||
# For backwards compatibility, ensure the packages say i386 if using GOARCH=386.
|
||||
A) ARCH="$(echo "$OPTARG" | sed 's/386/i386/')";;
|
||||
s) STATIC="1";;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue