We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc5ba08 commit d1c0af0Copy full SHA for d1c0af0
playground/update.sh
@@ -25,7 +25,7 @@ gopherjsgopath=$(go list -f '{{.Root}}' github.com/gopherjs/gopherjs)
25
# Make a copy of GOROOT that is non-user-writable,
26
# to prevent any GopherJS packages being written to it for now.
27
echo "copying GOROOT from $(go env GOROOT) to $tmp/goroot"
28
-cp -a "$(go env GOROOT)" "$tmp/goroot"
+cp -a "$(go env GOROOT)/" "$tmp/goroot/"
29
echo "making our copy of GOROOT non-user-writable for now"
30
chmod -R -w "$tmp/goroot"
31
export GOROOT="$tmp/goroot"
0 commit comments