Skip to content

Commit

Permalink
tool.sh: Suggest using '&&' instead of ';'
Browse files Browse the repository at this point in the history
Running `make` when the `cmake .` prior to it failed will yield a
Captn-Obvious error, so suggest the user to only call `make` when
`cmake` succeeded.
  • Loading branch information
Papierkorb committed Jun 22, 2020
1 parent 6ccfa81 commit 3f02883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SOURCE_FILE="$BASE/src/bindgen.cr"
function print_clang_error {
echo " Bindgen requires a full installation of Clang, its libraries and development"
echo " headers. Please install these first, and restart this script."
echo " You can also manually run 'cmake .; make -j' in clang/ for debugging this issue."
echo " You can also manually run 'cmake . && make -j' in clang/ for debugging this issue."
echo " Full path to clang/: $CLANG_DIR"

exit 1
Expand Down

0 comments on commit 3f02883

Please sign in to comment.