diff options
author | Dennis Eriksen <d@ennis.no> | 2020-04-30 12:49:06 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2020-04-30 12:49:06 +0200 |
commit | 59ea00ac7bebde72ab6af9532606d4220e91d181 (patch) | |
tree | bfbae1753a5ab0506e02462ba83181df31045e39 /mkosi.build | |
parent | upgrading to Focal (diff) | |
download | mkosi-filebin-59ea00ac7bebde72ab6af9532606d4220e91d181.tar.gz |
Revert "latest version of filebin requires go1.13, which is newer than what ubuntu ships with"
This reverts commit ccb35625442e4455b3cfbe7b2fd72ac49ba47c56.
go1.13 is now included in Focal
Diffstat (limited to 'mkosi.build')
-rwxr-xr-x | mkosi.build | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/mkosi.build b/mkosi.build index e7cf983..1956aa9 100755 --- a/mkosi.build +++ b/mkosi.build @@ -1,16 +1,9 @@ #!/bin/sh -export GOVER='1.13.6' -export GOPATH="${SRCDIR}" -export PATH="${PATH}:/usr/local/go/bin:${GOPATH}/bin" - - cd $SRCDIR mkdir src bin pkg -wget "https://dl.google.com/go/go${GOVER}.linux-amd64.tar.gz" -tar -C /usr/local -xzf "go${GOVER}.linux-amd64.tar.gz" -rm "go${GOVER}.linux-amd64.tar.gz" -go version +export GOPATH="${SRCDIR}" +export PATH="${PATH}:${GOPATH}/bin" go get -d github.com/espebra/filebin cd ${GOPATH}/src/github.com/espebra/filebin make get-deps |