Skip to content


PLUGIN_INSTALL: quote filenames
Browse files Browse the repository at this point in the history
Fixes use with filenames having shell-dangerous chars like "(".
NOTE: sextante help files have frequent such occurrences
  • Loading branch information
Sandro Santilli committed Oct 25, 2012
1 parent 3ce27d6 commit 131fc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MACRO (PLUGIN_INSTALL plugin subdir )
ADD_CUSTOM_COMMAND(TARGET ${plugin}_${subdir_sane}_stageinstall
COMMAND ${CMAKE_COMMAND} -E make_directory ${PYTHON_OUTPUT_DIRECTORY}/plugins/${plugin}/${subdir}
COMMAND ${CMAKE_COMMAND} -E copy ${file} ${PYTHON_OUTPUT_DIRECTORY}/plugins/${plugin}/${subdir}
COMMAND ${CMAKE_COMMAND} -E copy \"${file}\" ${PYTHON_OUTPUT_DIRECTORY}/plugins/${plugin}/${subdir}
#COMMENT "copying ${file} to ${PYTHON_OUTPUT_DIRECTORY}/plugins/${plugin}/${subdir}"
Expand Down

0 comments on commit 131fc6e

Please sign in to comment.