summaryrefslogtreecommitdiff
path: root/Source/CMakeVersion.bash
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMakeVersion.bash')
-rwxr-xr-xSource/CMakeVersion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeVersion.bash b/Source/CMakeVersion.bash
index 126adba8e..4794e608d 100755
--- a/Source/CMakeVersion.bash
+++ b/Source/CMakeVersion.bash
@@ -3,5 +3,5 @@
if test "x$1" = "x-f"; then shift ; n='*' ; else n='\{8\}' ; fi
if test "$#" -gt 0; then echo 1>&2 "usage: CMakeVersion.bash [-f]"; exit 1; fi
sed -i -e '
-s/\(^SET(CMake_VERSION_TWEAK\) [0-9]'"$n"'\(.*\)/\1 '"$(date +%Y%m%d)"'\2/
+s/\(^set(CMake_VERSION_TWEAK\) [0-9]'"$n"'\(.*\)/\1 '"$(date +%Y%m%d)"'\2/
' "${BASH_SOURCE%/*}/CMakeVersion.cmake"