diff --git a/linux/files/crystal-wrapper b/linux/files/crystal-wrapper index ab6dc3f6..2813d4bb 100755 --- a/linux/files/crystal-wrapper +++ b/linux/files/crystal-wrapper @@ -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"