diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-17 11:04:03 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-18 10:34:56 -0500 |
commit | 3294039a00f3aa65181ed23518dc5c73e0201268 (patch) | |
tree | d85e6ac67f9db409204c2cb1f2b08f70b0f9a179 /contrib/Makefile.am | |
parent | 0b92d9ed9c6bffcf4b47645a365ea6c3d162e89e (diff) | |
download | pacman-3294039a00f3aa65181ed23518dc5c73e0201268.tar.xz |
contrib/paclog-pkglist: rework as bash wrapping awk
Avoid some pain in awk's limited handling of command line arguments by
wrapping this in a Bash script. We also default to
@localstatedir@/log/pacman.log when no args are specified, meaning that
-h or --help is required to get the help message.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/Makefile.am')
-rw-r--r-- | contrib/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 31238b8f..69304a44 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -2,6 +2,7 @@ OURSCRIPTS = \ bacman \ pacdiff \ paclist \ + paclog-pkglist \ pacscripts \ pacsearch @@ -13,7 +14,7 @@ EXTRA_DIST = \ PKGBUILD.vim \ bacman.in \ bash_completion.in \ - paclog-pkglist \ + paclog-pkglist.in \ pacdiff.in \ paclist.in \ pacscripts.in \ @@ -51,6 +52,7 @@ bacman: $(srcdir)/bacman.in bash_completion: $(srcdir)/bash_completion.in pacdiff: $(srcdir)/pacdiff.in paclist: $(srcdir)/paclist.in +paclog-pkglist: $(srcdir)/paclog-pkglist.in pacscripts: $(srcdir)/pacscripts.in pacsearch: $(srcdir)/pacsearch.in pactree: $(srcdir)/pactree.in |