From: drjaska Date: Thu, 22 Aug 2024 05:01:26 +0000 (+0300) Subject: Improve the header note X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=699a7a343a22bb6e22484e40978564cd02ad786d;p=xonotic%2Fxonotic-data.pk3dir.git Improve the header note --- diff --git a/qcsrc/tools/genmod.sh b/qcsrc/tools/genmod.sh index 70345c75a..142ca8287 100755 --- a/qcsrc/tools/genmod.sh +++ b/qcsrc/tools/genmod.sh @@ -32,8 +32,8 @@ function genmod() { oldTimeH="$(stat -c "%Y" ${MOD}.qh)" fi - echo '// generated file; do not modify' > "${MOD}.inc" - echo '// generated file; do not modify' > "${MOD}.qh" + echo "// $(basename "$0") autogenerated file; do not modify" > "${MOD}.inc" + echo "// $(basename "$0") autogenerated file; do not modify" > "${MOD}.qh" # Dr. Jaska: TODO: replace ls with something else # LSP note: "Use find instead of ls to better handle non-alphanumeric filenames."