Want more features on Pastebin? Sign Up, it's FREE!
Guest

python2.patch

By: a guest on Jun 8th, 2011  |  syntax: Diff  |  size: 0.64 KB  |  views: 199  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -Nur cairo-dock-plug-ins/CMakeLists.txt cairo-dock-plug-ins-build/CMakeLists.txt
  2. --- cairo-dock-plug-ins/CMakeLists.txt  2011-06-09 01:10:43.587790229 +0600
  3. +++ cairo-dock-plug-ins-build/CMakeLists.txt    2011-06-09 01:16:37.947810030 +0600
  4. @@ -176,7 +176,7 @@
  5.  add_subdirectory (compiz-icon)
  6.  
  7.  ############# DBUS #################
  8. -find_program (PYTHON_EXECUTABLE python)
  9. +find_program (PYTHON_EXECUTABLE python2)
  10.  EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "import sys; print sys.version" OUTPUT_VARIABLE PYTHON_VERSION)
  11.  if ("${PYTHON_VERSION}" STREQUAL "")
  12.         message (STATUS "Could not find Python, won't install Python interface.")
clone this paste RAW Paste Data