aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-11-13 20:01:30 +0000
committervaxerski <[email protected]>2022-11-13 20:01:30 +0000
commit0634abf168c2f4a6a418743cb1daa0d940271d59 (patch)
tree2e0431f2ae23c082d96885bb11cdfb6a1ddc1e74
parent478fa7cafea63a2008184a756045c43ed803310f (diff)
downloadHyprland-0634abf168c2f4a6a418743cb1daa0d940271d59.tar.gz
Hyprland-0634abf168c2f4a6a418743cb1daa0d940271d59.zip
remove quotes from commit messages in build
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 28ca03aa..b4561d8d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ execute_process(
OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(
- COMMAND sh -c "git show ${GIT_COMMIT_HASH} | head -n 5 | tail -n 1 | sed -s 's/#//g'"
+ COMMAND sh -c "git show ${GIT_COMMIT_HASH} | head -n 5 | tail -n 1 | sed -s 's/#|\"//g'"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_COMMIT_MESSAGE
OUTPUT_STRIP_TRAILING_WHITESPACE)