[Shell] Fixup racket_setup

This commit is contained in:
Ivan Malison 2016-10-09 23:12:04 -07:00
parent c445a97572
commit b557af7233
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -114,13 +114,11 @@ function _tex_setup {
} }
function _racket_setup { function _racket_setup {
if command_exists; then if is_osx; then
if is_osx; then local racket_base_path="$(brew --prefix racket)"
local racket_base_path="$(brew --prefix racket)" # XXX: Seems maybe this is not needed
# XXX: Seems maybe this is not needed # local newest_version_number="$(ls \"$racket_base_path\" | sort -Vr | head -n1)"
# local newest_version_number="$(ls \"$racket_base_path\" | sort -Vr | head -n1)" add_to_path "$racket_base_path/bin" --before
add_to_path "$racket_base_path/bin" --before
fi
fi fi
} }