mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-23 08:52:43 +03:00
build: Use cd ... || exit
in case cd
fails (#1107)
This commit is contained in:
parent
90bc38c840
commit
3737c9f4e2
2
build.sh
2
build.sh
@ -10,7 +10,7 @@ if [[ "${SHOULD_BUILD}" == "yes" ]]; then
|
||||
|
||||
. prepare_vscode.sh
|
||||
|
||||
cd vscode || exit
|
||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||
|
||||
yarn monaco-compile-check
|
||||
yarn valid-layers-check
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"/../../../vscode
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"/../../../vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||
|
||||
input=LICENSE.txt
|
||||
target=LICENSE.rtf
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p vscode
|
||||
cd vscode
|
||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||
|
||||
git init -q
|
||||
git remote add origin https://github.com/Microsoft/vscode.git
|
||||
|
@ -5,7 +5,7 @@ set -e
|
||||
cp -rp src/* vscode/
|
||||
cp -f LICENSE vscode/LICENSE.txt
|
||||
|
||||
cd vscode || exit
|
||||
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
||||
|
||||
../update_settings.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user