-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Avoid calling realpath of parent crystal in wrapper script #13596
Fix: Avoid calling realpath of parent crystal in wrapper script #13596
Conversation
bin/crystal
Outdated
@@ -153,11 +153,12 @@ if [ -z "${PARENT_CRYSTAL##*/*}" -a "$(realpath "$PARENT_CRYSTAL")" = "$SCRIPT_P | |||
PARENT_CRYSTAL="crystal" | |||
fi | |||
|
|||
PARENT_CRYSTAL_COMMAND=$(realpath "$(command -v "$PARENT_CRYSTAL" 2> /dev/null)" 2> /dev/null) | |||
PARENT_CRYSTAL_COMMAND=$(command -v "$PARENT_CRYSTAL" 2> /dev/null) | |||
PARENT_CRYSTAL_COMMAND_REALPATH=$(realpath "$PARNET_CRYSTAL_COMMAND" 2> /dev/null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PARNET_CRYSTAL_COMMAND
seems to be a typo. If it is fixed I don't see how the new wrapper script is different from before
Fixed. The difference is that the parent crystal command resolved with Line 196 in 78b2d35
|
Resolves #13592