This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#Put versions in order of preference. | |
VERSIONS='python python2 python2.4 python2.6 python2.7 python3.0 python3.2' | |
CMD=$0 | |
ARGS=$@ | |
LOCATIONS=`which $VERSIONS` | |
set -- $LOCATIONS | |
#Exec the best match |