summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2011-09-08 15:08:32 +0200
committerJustin Davis <jrcd83@gmail.com>2011-09-08 15:08:32 +0200
commitf1f8b968d0101237c24bc9a91c67f0f98b112aec (patch)
tree929baf97cb71bb8dbe838f2523b60d9229ee9aa0
parent9040419dda9b314955796a56311c4eeb84de5229 (diff)
downloadgenpkg-f1f8b968d0101237c24bc9a91c67f0f98b112aec.tar.gz
genpkg-f1f8b968d0101237c24bc9a91c67f0f98b112aec.tar.xz
Minor aesthetic improvements.
-rwxr-xr-xbin/macros/addsvnid1
-rwxr-xr-xbin/pbjparse.awk3
2 files changed, 1 insertions, 3 deletions
diff --git a/bin/macros/addsvnid b/bin/macros/addsvnid
index 3d0bca4..b010edc 100755
--- a/bin/macros/addsvnid
+++ b/bin/macros/addsvnid
@@ -1,5 +1,4 @@
#!/usr/bin/awk -f
-##
# Add an SVN $Id$ comment at the end of the comments header
/^#/ { aftercom = 1 }
!/^#/ && aftercom && ! done { print "# $Id$"; done = 1 }
diff --git a/bin/pbjparse.awk b/bin/pbjparse.awk
index bb409af..8d9c3b5 100755
--- a/bin/pbjparse.awk
+++ b/bin/pbjparse.awk
@@ -76,8 +76,7 @@ function parsepbj ( cmd) # cmd is a "local" var
close(cmd)
}
else if ($1 == "|") {
- tcmd = joinfields(2)
- templates[++templcount] = tcmd
+ templates[++templcount] = joinfields(2)
}
else if ($1 ~ /^[ \t]*$/) ; # ignore lines of whitespace
else die("invalid input: " $0)