Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1c0af0

Browse files
committed
Fix update.js to work when $GOROOT is a symlink.
1 parentbc5ba08 commitd1c0af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎playground/update.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ gopherjsgopath=$(go list -f '{{.Root}}' github.com/gopherjs/gopherjs)
2525
# Make a copy of GOROOT that is non-user-writable,
2626
# to prevent any GopherJS packages being written to it for now.
2727
echo"copying GOROOT from$(go env GOROOT) to$tmp/goroot"
28-
cp -a"$(go env GOROOT)""$tmp/goroot"
28+
cp -a"$(go env GOROOT)/""$tmp/goroot/"
2929
echo"making our copy of GOROOT non-user-writable for now"
3030
chmod -R -w"$tmp/goroot"
3131
export GOROOT="$tmp/goroot"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp