Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eng/native/functions.cmake')
-rw-r--r--eng/native/functions.cmake2
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)