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

Commitf8847c1

Browse files
myitcvdmitshur
authored andcommitted
playground: Remove SIG prefix from signals.
This enables the update.sh script to run with sh shell, in additionto bash shell.Also use -f option so rm succeeds even if pkg directory doesn't exist.
1 parentcbdec89 commitf8847c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎playground/update.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cleanup() {
88
exit
99
}
1010

11-
trap cleanup EXITSIGHUP SIGINT SIGTERM
11+
trap cleanup EXITHUP INT TERM
1212

1313
go install github.com/gopherjs/gopherjs/...
1414

@@ -20,7 +20,7 @@ gopherjs build -m
2020
# The GOPATH workspace where the GopherJS project is.
2121
gopherjsgopath=$(go list -f'{{.Root}}' github.com/gopherjs/gopherjs)
2222

23-
rm -r pkg/
23+
rm -rf pkg/
2424

2525
# Use an empty GOPATH workspace with just gopherjs,
2626
# so that all the standard library packages get written to GOROOT/pkg.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp