Skip to content

Commit

Permalink
Show relative path to .build when running a local compiler (#8486)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp authored and straight-shoota committed Nov 28, 2019
1 parent 218cb6a commit 83e3862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/crystal
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export CRYSTAL_PATH=$CRYSTAL_ROOT/src:lib
export CRYSTAL_HAS_WRAPPER=true

if [ -x "$CRYSTAL_DIR/crystal" ]; then
__warning_msg "Using compiled compiler at \`.build/crystal'"
__warning_msg "Using compiled compiler at ${CRYSTAL_DIR#"$PWD/"}/crystal"
exec "$CRYSTAL_DIR/crystal" "$@"
elif ! command -v crystal > /dev/null; then
__error_msg 'You need to have a crystal executable in your path!'
Expand Down

0 comments on commit 83e3862

Please sign in to comment.