diff options
author | Adeel Mujahid <3840695+am11@users.noreply.github.com> | 2022-02-10 07:12:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 07:12:56 +0300 |
commit | e6349af999dcefff7c7973b2204cea6ac639b149 (patch) | |
tree | 825e178c2bfcdef0f7e2fa08cf400e1e67f05a33 /eng/native/functions.cmake | |
parent | 2210b7490fbd28b7ce52211339d4ee8af82f1dac (diff) |
Overwrite existing inc file in h2inc (#65113)
Diffstat (limited to 'eng/native/functions.cmake')
-rw-r--r-- | eng/native/functions.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eng/native/functions.cmake b/eng/native/functions.cmake index 0c28f75706d..6ff45a86fbb 100644 --- a/eng/native/functions.cmake +++ b/eng/native/functions.cmake @@ -15,7 +15,7 @@ function(h2inc filename output) get_filename_component(path "${filename}" DIRECTORY) file(RELATIVE_PATH relative_filename "${CLR_REPO_ROOT_DIR}" "${filename}") - file(APPEND "${output}" "// File start: ${relative_filename}\n") + file(WRITE "${output}" "// File start: ${relative_filename}\n") # Use of NEWLINE_CONSUME is needed for lines with trailing backslash file(STRINGS ${filename} contents NEWLINE_CONSUME) |