Skip to content

Commit

Permalink
Change CRYSTAL_PATH to allow shards to hide std-lib (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian J. Cardiff authored Feb 7, 2020
1 parent ca02118 commit 83a0b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/files/crystal-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ _canonicalize_file_path() {
SCRIPT_DIR="$(dirname "$(realpath "$0" || echo "$0")")"
ROOT_DIR="$SCRIPT_DIR/.."

export CRYSTAL_PATH="${CRYSTAL_PATH:-"$ROOT_DIR/share/crystal/src:lib"}"
export CRYSTAL_PATH="${CRYSTAL_PATH:-"lib:$ROOT_DIR/share/crystal/src"}"
export PATH="$ROOT_DIR/lib/crystal/bin:$PATH"
export LIBRARY_PATH="$ROOT_DIR/lib/crystal/lib${LIBRARY_PATH:+:$LIBRARY_PATH}"
export CRYSTAL_LIBRARY_PATH="${CRYSTAL_LIBRARY_PATH:+$CRYSTAL_LIBRARY_PATH:}$ROOT_DIR/lib/crystal/lib"
Expand Down

0 comments on commit 83a0b73

Please sign in to comment.