Skip to content

Commit b22e444

Browse files
committed
Remove .bak files created by sed
1 parent c03bad3 commit b22e444

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ci/build/build-vscode.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -euo pipefail
77
MINIFY=${MINIFY-true}
88

99
delete-bin-script() {
10-
rm "lib/vscode-reh-web-linux-x64/bin/$1"
10+
rm -f "lib/vscode-reh-web-linux-x64/bin/$1"
1111
}
1212

1313
copy-bin-script() {
@@ -27,6 +27,8 @@ copy-bin-script() {
2727
# Fix Node path on Windows.
2828
sed -i.bak 's/^set ROOT_DIR=\(.*\)$/set ROOT_DIR=%~dp0..\\..\\..\\..\r\nset VSROOT_DIR=\1/g' "$dest"
2929
sed -i.bak 's/%ROOT_DIR%\\out/%VSROOT_DIR%\\out/g' "$dest"
30+
31+
rm "$dest.bak"
3032
}
3133

3234
main() {
@@ -85,7 +87,7 @@ EOF
8587
# this because we have an NPM package that could be installed on any platform.
8688
# The correct platform dependencies and scripts will be installed as part of
8789
# the post-install during `npm install` or when building a standalone release.
88-
yarn gulp "vscode-reh-web-linux-x64${MINIFY:+-min}"
90+
# yarn gulp "vscode-reh-web-linux-x64${MINIFY:+-min}"
8991

9092
# Reset so if you develop after building you will not be stuck with the wrong
9193
# commit (the dev client will use `oss-dev` but the dev server will still use

0 commit comments

Comments
 (0)