summaryrefslogtreecommitdiffstats
path: root/bin/pbjparse.awk
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pbjparse.awk')
-rwxr-xr-xbin/pbjparse.awk6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/pbjparse.awk b/bin/pbjparse.awk
index 8d9c3b5..6cdf5e6 100755
--- a/bin/pbjparse.awk
+++ b/bin/pbjparse.awk
@@ -32,7 +32,11 @@ END {
print "" | tcmd
}
- if (!seenpkgr) print "packager\n" packager "\n\n" | tcmd
+ if (!seenpkgr) {
+ pkger = ENVIRON["PACKAGER"]
+ if (pkger == "") pkger = "Anonymous"
+ print "packager\n" pkger | tcmd
+ }
}
function parsepbj ( cmd) # cmd is a "local" var