Skip to content
Snippets Groups Projects
Commit 5d817266 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

scons: probe "python" and "python2" first in pywrap.sh in order to use the...

scons: probe "python" and "python2" first in pywrap.sh in order to use the users preferred version if possible

SVN-Revision: 31743
parent c33b01fa
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ case "${0##*/}" in
*) arg1="$0.py" ;;
esac
for bin in python2.7 python2.6 python2.5 python2.4 python2 python; do
for bin in python python2 python2.7 python2.6 python2.5 python2.4; do
case "$($bin -V 2>&1)" in
"Python 2"*) exec $bin $arg1 "$@" ;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment