瀏覽代碼

Use PERMISSIONS keyword instead of FILE_PERMISSIONS

Fixes #6
tags/1.2
Timo Röhling 10 年之前
父節點
當前提交
6c0be7c5b3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      postinstall.cmake.in

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

@@ -45,6 +45,6 @@ if(GENERATE_SRS_SECRET AND DD AND BASE64 AND EXISTS "/dev/urandom" AND NOT EXIST
45 45
 		ERROR_QUIET
46 46
 		OUTPUT_STRIP_TRAILING_WHITESPACE
47 47
 	)
48
-file(INSTALL FILES "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "${SYSCONF_DIR}" RENAME "${SECRET_FILE}" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
48
+file(INSTALL FILES "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "${SYSCONF_DIR}" RENAME "${SECRET_FILE}" PERMISSIONS OWNER_READ OWNER_WRITE)
49 49
 file(REMOVE "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}")
50 50
 endif()

Loading…
取消
儲存