Use cd ... || exit in case cd fails.
This commit is contained in:
parent
cfc5bbd51e
commit
df742b9ee9
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -13,7 +13,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||
echo "BUILD_SOURCEVERSION: ${BUILD_SOURCEVERSION}"
|
||||
|
||||
cp -rp src/* vscode/
|
||||
cd vscode
|
||||
cd vscode || exit
|
||||
|
||||
export npm_config_arch="$BUILDARCH"
|
||||
export npm_config_target_arch="$BUILDARCH"
|
||||
|
|
Loading…
Reference in a new issue