diff --git a/bin/crystal b/bin/crystal index 98e33f42f962..08df2485ee2c 100755 --- a/bin/crystal +++ b/bin/crystal @@ -189,6 +189,7 @@ esac # CRYSTAL_EXEC_PATH determines the location of the `crystal` program for external # compiler commands. CRYSTAL_EXEC_PATH="$SCRIPT_ROOT" +export CRYSTAL_EXEC_PATH if [ -x "$CRYSTAL_DIR/${CRYSTAL_BIN}" ]; then __warning_msg "Using compiled compiler at ${CRYSTAL_DIR#"$PWD/"}/${CRYSTAL_BIN}"