mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
dashboard: avoid sed -i because it's not portable
This commit is contained in:
parent
6de35fe935
commit
f0c85a7071
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ package dashboard
|
|||
//go:generate npm --prefix ./assets install
|
||||
//go:generate ./assets/node_modules/.bin/webpack --config ./assets/webpack.config.js --context ./assets
|
||||
//go:generate go-bindata -nometadata -o assets.go -prefix assets -nocompress -pkg dashboard assets/public/...
|
||||
//go:generate sed -e "s#var _public#//nolint:misspell\\\n&#" -i "" assets.go
|
||||
//go:generate sh -c "sed 's#var _public#//nolint:misspell\\\n&#' assets.go > assets.go.tmp && mv assets.go.tmp assets.go"
|
||||
//go:generate gofmt -w -s assets.go
|
||||
|
||||
import (
|
||||
|
|
|
|||
Loading…
Reference in a new issue