build: Use cd ... || exit in case cd fails (#1107)

This commit is contained in:
Frazer Smith
2022-06-08 21:03:44 +01:00
committed by GitHub
parent 90bc38c840
commit 3737c9f4e2
4 changed files with 4 additions and 4 deletions

View File

@@ -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