Fix passing arguments to python CLI

This commit is contained in:
Daniel Perez 2016-11-03 18:41:32 +09:00
parent c4f49e5c2b
commit c2bd01edf0

View file

@ -16,7 +16,7 @@ run_python() {
local short_python_version="${splitted_version[0]}.${splitted_version[1]}"
exec $HOME/.asdf/bin/private/asdf-exec python bin/python${short_python_version} $@
exec $HOME/.asdf/bin/private/asdf-exec python bin/python${short_python_version} "$@"
}
run_python $@
run_python "$@"