Changes

Python

143 bytes added, 20:40, 25 January 2014
Dealing with version problem in build scripts: Added compat with GoogleSDK, it sends "-S" as the first parameter, not the path when running directly from the preinstall path. i.e. $ gcutil
#!/bin/bash
script=`readlink -f -- "$1"`
case "$script" in (/path/to/project1/*|/path/to/project2/*|/path/to/project3*)
exec python2 "$@"
;;
esac
 
script=`readlink -f -- "$2"`
case "$script" in (/path/to/project1/*|/path/to/project2/*|/path/to/project3*)
exec python2 "$@"
7
edits