diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-06-20 21:45:15 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-06-20 21:45:15 +0800 |
commit | b54464a34c3f441d40977e872df53825c7df4959 (patch) | |
tree | f99791c38fe8ba81d15fd6563d2fd85dc2e801aa /indra | |
parent | 917cf2c654fdbf5ad8ff32030b71cc21e5f25014 (diff) |
Somehow when the stream editing to delete anything that begins with 4
spaces is run from CMake (as opposed to directly on shell), it deletes
most of the contributors on Windows. I've tried many methods like using
\w, \s, etc., but what works is just using the first letters of the bug
codenames. There are still empty results (, , ,) among the final parsed
contributors, but we'll ignore them for now.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/CMakeLists.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index c8fba68e7c..1515addad4 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1774,7 +1774,19 @@ if (CMAKE_COMMAND MATCHES /usr/bin/cmake OR WINDOWS) COMMAND sed ARGS -i '/\t.*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt COMMAND sed - ARGS -i '/^ .*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt + ARGS -i '/^ B.*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt + COMMAND sed + ARGS -i '/^ C.*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt + COMMAND sed + ARGS -i '/^ M.*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt + COMMAND sed + ARGS -i '/^ O.*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt + COMMAND sed + ARGS -i '/^ S.*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt + COMMAND sed + ARGS -i '/^ s.*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt + COMMAND sed + ARGS -i '/^ V.*/d' ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt COMMAND sort ARGS -R contributions.txt -o ${CMAKE_CURRENT_BINARY_DIR}/contributions.txt COMMAND paste |