summaryrefslogtreecommitdiffstats
path: root/bin/pbfields
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pbfields')
-rwxr-xr-xbin/pbfields11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/pbfields b/bin/pbfields
index f663044..9846aab 100755
--- a/bin/pbfields
+++ b/bin/pbfields
@@ -50,10 +50,13 @@ $1 == "customvars" {
}
END {
- if(!maintainer && !packager) { packager = "Anonymous" }
- if(maintainer) print "# Maintainer: " maintainer
- else if(packager) print "# Packager: " packager
- print ""
+ if(maintainer){
+ print "# Maintainer: " maintainer "\n"
+ }else if(packager){
+ print "# Packager: " packager "\n"
+ }else{
+ print "# Packager: Anonymous\n"
+ }
OFS = "="; ORS = "\n";
for(i = 1; i <= customlen; i++){