瀏覽代碼

Do not keep generated key in build folder

tags/1.0
Timo Röhling 12 年之前
父節點
當前提交
14e1589ab7
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      postinstall.cmake.in

+ 1
- 0
postinstall.cmake.in 查看文件

@@ -36,5 +36,6 @@ if(DD AND BASE64 AND EXISTS "/dev/urandom" AND NOT EXISTS "$ENV{DESTDIR}/etc/${S
36 36
 		OUTPUT_STRIP_TRAILING_WHITESPACE
37 37
 	)
38 38
 file(INSTALL "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "/etc" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
39
+file(REMOVE "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}")
39 40
 endif()
40 41
 

Loading…
取消
儲存