Skip to content

Commit

Permalink
Make bin/crystal work on MSYS2 or Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Oct 18, 2024
1 parent d1c5072 commit f2a03e6
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 @@ -137,7 +137,7 @@ SCRIPT_ROOT="$(dirname "$SCRIPT_PATH")"
CRYSTAL_ROOT="$(dirname "$SCRIPT_ROOT")"
CRYSTAL_DIR="$CRYSTAL_ROOT/.build"

export CRYSTAL_PATH="${CRYSTAL_PATH:-lib:$CRYSTAL_ROOT/src}"
export CRYSTAL_PATH="${CRYSTAL_PATH:-./lib:$CRYSTAL_ROOT/src}"
if [ -n "${CRYSTAL_PATH##*"$CRYSTAL_ROOT"/src*}" ]; then
__warning_msg "CRYSTAL_PATH env variable does not contain $CRYSTAL_ROOT/src"
fi
Expand Down

0 comments on commit f2a03e6

Please sign in to comment.