summarylogtreecommitdiffstats
path: root/python_fix.patch
blob: bc83d45053a717db8e61885f43b2f10c725ca04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/pointgrey_camera_driver-release-release-kinetic-pointgrey_camera_driver-0.13.4-0/cmake/download_flycap	2017-10-26 08:41:26.000000000 -0700
+++ b/pointgrey_camera_driver-release-release-kinetic-pointgrey_camera_driver-0.13.4-0/cmake/download_flycap	2018-01-30 00:05:08.371364896 -0800
@@ -134,14 +134,14 @@
     os.mkdir(os.path.join(include_path, flycap_folder))
 
     for files in include_files:
-	if files.endswith(".h"):
-            shutil.move(os.path.join(include_path, files), os.path.join(include_path, flycap_folder))
+        if files.endswith(".h"):
+            shutil.move(os.path.join(include_path, files), os.path.join(include_path, flycap_folder))
 
     shutil.copyfile(shared_library, library_dest)
 else:
     for deb in debs:
         logging.info("Extracting: %s", deb)
-    	subprocess.check_call(['dpkg', '--extract', deb, '.'])
+        subprocess.check_call(['dpkg', '--extract', deb, '.'])
 
     logging.info("Copying shared library.")
     shutil.copyfile(shared_library, library_dest)
--- a/pointgrey_camera_driver-release-release-kinetic-pointgrey_camera_driver-0.13.4-0/cmake/DownloadFlyCap.cmake	2017-10-26 08:41:26.000000000 -0700
+++ b/pointgrey_camera_driver-release-release-kinetic-pointgrey_camera_driver-0.13.4-0/cmake/DownloadFlyCap.cmake	2018-01-30 00:16:00.735068299 -0800
@@ -15,7 +15,7 @@
   set(DOWNLOAD_SCRIPT "${PROJECT_SOURCE_DIR}/cmake/download_flycap")
 
   execute_process(
-    COMMAND /usr/bin/env python ${DOWNLOAD_SCRIPT} ${POINTGREY_ARCH} ${POINTGREY_LIB} ${OS_CODE_NAME}
+    COMMAND /usr/bin/env python2 ${DOWNLOAD_SCRIPT} ${POINTGREY_ARCH} ${POINTGREY_LIB} ${OS_CODE_NAME}
     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
 
   set(${POINTGREY_LIB_VAR} ${POINTGREY_LIB} PARENT_SCOPE)