Skip to content

Instantly share code, notes, and snippets.

@snmishra
Created March 23, 2016 16:18
Show Gist options
  • Save snmishra/c9c2d7b6d650ca18a901 to your computer and use it in GitHub Desktop.
Save snmishra/c9c2d7b6d650ca18a901 to your computer and use it in GitHub Desktop.
Patch to support Python 2.6 in find_python.sh of WANdisco SRPM
--- build/find_python.sh 2015-12-15 20:07:28.000000000 -0800
+++ build/find_python.sh 2015-12-15 20:07:45.000000000 -0800
@@ -21,7 +21,7 @@
#
# Required version of Python
-VERSION=${1:-0x2070000}
+VERSION=${1:-0x2060000}
for pypath in "$PYTHON" "$PYTHON2" "$PYTHON3" python python2 python3; do
if [ "x$pypath" != "x" ]; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment