Created
January 25, 2016 10:13
-
-
Save tritium21/e7b5d17b62a1be3917e5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
""":" | |
which python3 >/dev/null 2>&1 && exec python3 "$0" "$@" | |
which python >/dev/null 2>&1 && exec python "$0" "$@" | |
which python2 >/dev/null 2>&1 && exec python2 "$0" "$@" | |
echo "Error: configure wrapper requires python" | |
exec echo "Either install python, or use cmake directly" | |
":""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment