* add commit date to "hyprctl version"
modified: scripts/generateVersion.sh
modified: src/debug/HyprCtl.cpp
modified: src/version.h.in
* Nix: add date to hyprctl
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* generateVersion.sh: move cp(1) flags before arguments
POSIX and BSD cp(1) don't support flags after arguments e.g.,
cp: -fr is not a directory
* generateVersion.sh: switch to sed(1) -i for better compatibility
On BSDs awk is usually The One True Awk thus doesn't support `-i inplace`.
awk: unknown option -i ignored
awk: can't open file {sub(/@HASH@/,"1234567890abcdef")}1
source line number 1