Skip to content
Permalink
Browse files

PLUGIN_INSTALL: quote filenames

Fixes use with filenames having shell-dangerous chars like "(".
NOTE: sextante help files have frequent such occurrences
  • Loading branch information
Sandro Santilli
Sandro Santilli committed Oct 25, 2012
1 parent 3ce27d6 commit 131fc6e945ad5dad8342ecf347b7b63902ae8d4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/CMakeLists.txt
@@ -7,7 +7,7 @@ MACRO (PLUGIN_INSTALL plugin subdir )
ADD_CUSTOM_COMMAND(TARGET ${plugin}_${subdir_sane}_stageinstall
POST_BUILD
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}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
#COMMENT "copying ${file} to ${PYTHON_OUTPUT_DIRECTORY}/plugins/${plugin}/${subdir}"
)

0 comments on commit 131fc6e

Please sign in to comment.
You can’t perform that action at this time.