Kaynağa Gözat

Use PERMISSIONS keyword instead of FILE_PERMISSIONS

Fixes #6
tags/1.2
Timo Röhling 10 yıl önce
ebeveyn
işleme
6c0be7c5b3
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      postinstall.cmake.in

+ 1
- 1
postinstall.cmake.in Dosyayı Görüntüle

@@ -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…
İptal
Kaydet