diff --git a/build.sh b/build.sh index 29e7625..f6c6f08 100755 --- a/build.sh +++ b/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 diff --git a/build/windows/rtf/make.sh b/build/windows/rtf/make.sh index 0ffcc68..2fdc2aa 100644 --- a/build/windows/rtf/make.sh +++ b/build/windows/rtf/make.sh @@ -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 diff --git a/get_repo.sh b/get_repo.sh index 985ae90..c6f2a97 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -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 diff --git a/prepare_vscode.sh b/prepare_vscode.sh index d88162e..2f8254f 100755 --- a/prepare_vscode.sh +++ b/prepare_vscode.sh @@ -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