aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-12-09 13:57:39 +0000
committervaxerski <[email protected]>2022-12-09 13:57:39 +0000
commit629cca481626c4a271230244df4a41f19e4fc253 (patch)
treea6c1e22f5f23bd521a288607a96ede09b515b36b /CMakeLists.txt
parent9fc143cf3dd1d6ed2be4563d39d5afbfc6f3fb4d (diff)
downloadHyprland-629cca481626c4a271230244df4a41f19e4fc253.tar.gz
Hyprland-629cca481626c4a271230244df4a41f19e4fc253.zip
fix string escaping in CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b1b77ad0..c0fd2e76 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 -e 's/#//g' -e 's/\"//g'"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_COMMIT_MESSAGE
OUTPUT_STRIP_TRAILING_WHITESPACE)