aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2023-04-25 19:55:34 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-04-26 12:24:55 +0200
commit19a3dabee408a0ee1cf91faaefe1160b854edaea (patch)
treeaafb4108e5bde115a291fb9b653fd898ea6e4fb1
parent5c302a80a185bd3c33d70c2085aec5a1b807bc84 (diff)
tools: simplify openbsd startup script
It's not worth the trouble to figure out how to quote things to save a single copy for a short literal.
-rwxr-xr-xtools/create-openbsd-gce-ci.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/create-openbsd-gce-ci.sh b/tools/create-openbsd-gce-ci.sh
index d707202ef..4756d156f 100755
--- a/tools/create-openbsd-gce-ci.sh
+++ b/tools/create-openbsd-gce-ci.sh
@@ -66,8 +66,9 @@ EOF2
cd /syzkaller
set -eux
ulimit -d 8000000
- export GOCACHE=/syzkaller/go-cache
- mkdir -p \$GOCACHE
+ mkdir -p /syzkaller/go-cache
+ GOCACHE=/syzkaller/go-cache
+ export GOCACHE
test -x syz-ci || (
go get github.com/google/syzkaller/syz-ci &&
go build github.com/google/syzkaller/syz-ci)