mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
go: a couple minor cleanups from upstream
This commit is contained in:
parent
45257bcb80
commit
e31ec800f0
@ -55,6 +55,7 @@ go_arch()
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
@ -109,10 +110,6 @@ pkg_pretend()
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
sed -i -e 's/"-Werror",//g' src/cmd/dist/build.go ||
|
||||
die 'sed failed'
|
||||
fi
|
||||
epatch_user
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user