mirror of
https://github.com/YunoHost-Apps/gamja_ynh.git
synced 2024-09-03 18:36:34 +02:00
Fix go for bullseyes
This commit is contained in:
parent
f0cc71b55e
commit
8014c1d60a
2 changed files with 4 additions and 0 deletions
|
@ -132,6 +132,8 @@ tempdir="$(mktemp -d)"
|
||||||
ynh_setup_source --dest_dir=$tempdir --source_id="webircgateway"
|
ynh_setup_source --dest_dir=$tempdir --source_id="webircgateway"
|
||||||
pushd $tempdir
|
pushd $tempdir
|
||||||
ynh_use_go
|
ynh_use_go
|
||||||
|
export GOPATH="$tempdir/go"
|
||||||
|
export GOCACHE="$tempdir/.cache"
|
||||||
ynh_go build
|
ynh_go build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -140,6 +140,8 @@ tempdir="$(mktemp -d)"
|
||||||
ynh_setup_source --dest_dir=$tempdir --source_id="webircgateway"
|
ynh_setup_source --dest_dir=$tempdir --source_id="webircgateway"
|
||||||
pushd $tempdir
|
pushd $tempdir
|
||||||
ynh_use_go
|
ynh_use_go
|
||||||
|
export GOPATH="$tempdir/go"
|
||||||
|
export GOCACHE="$tempdir/.cache"
|
||||||
ynh_go build
|
ynh_go build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue