Browse Source

WIP #205 Added chmod command to generate_bash macro.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
Philip Schwartz 13 years ago
parent
commit
601952f626
1 changed files with 1 additions and 0 deletions
  1. 1 0
      initfiles/CMakeLists.txt

+ 1 - 0
initfiles/CMakeLists.txt

@@ -30,6 +30,7 @@ MACRO(GENERATE_BASH processor bash-vars in out)
     ADD_CUSTOM_COMMAND(OUTPUT "${outfile}"
         COMMAND ${processorLocation}
         "${bash-vars}" "${infile}" "${outfile}"
+        COMMAND chmod 0755 ${outfile}
         DEPENDS "${infile}" processor # depends on the 'processor'
         COMMENT "Generating: ${outfile}")
     SET(${out} ${${out}} "${outfile}")