12 lines
468 B
Diff
12 lines
468 B
Diff
--- a/cmake/Modules/VolkPython.cmake
|
|
+++ b/cmake/Modules/VolkPython.cmake
|
|
@@ -237,7 +237,7 @@
|
|
DEPENDS ${pyfile}
|
|
COMMAND
|
|
${PYTHON_EXECUTABLE} -c
|
|
- "open('${pyexefile}','w').write(r'\#!${pyexe_native}'+'\\n'+open('${pyfile}').read())"
|
|
+ "open('${pyexefile}','w').write(open('${pyfile}').read())"
|
|
COMMENT "Shebangin ${pyfile_name}"
|
|
VERBATIM)
|
|
|