summaryrefslogtreecommitdiff
path: root/generateversionscript.awk
diff options
context:
space:
mode:
Diffstat (limited to 'generateversionscript.awk')
-rw-r--r--generateversionscript.awk7
1 files changed, 6 insertions, 1 deletions
diff --git a/generateversionscript.awk b/generateversionscript.awk
index 2aa1f4f0a2..d1c294be58 100644
--- a/generateversionscript.awk
+++ b/generateversionscript.awk
@@ -6,7 +6,12 @@ BEGIN {
# Remove the CR character in case the sources are mapped from
# a Windows share and contain CRLF line endings
gsub(/\r/,"", $0);
- print " " $0 ";";
+
+ # Skip empty lines and comment lines starting with semicolon
+ if (NF && !match($0, /^[:space:]*;/))
+ {
+ print " " $0 ";";
+ }
}
END {
print " local: *;"