summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-31 21:22:54 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-31 21:22:54 +0200
commitc3ab87b44681453e2c38182b5397060a009b6c22 (patch)
treefa58ac28480de73ace6d42408d9a8c7fe971cb3d /bin
parent6be520d278b6624a076127369b481c02d650d547 (diff)
bin/pkg: remove trailing ', '
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index f6e0fe5..1d15938 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -207,12 +207,12 @@ pkg_info () {
echo $LOG | grep -m1 'date:' | grep -Eo '[A-Z][a-z]{2}.*'
if ([ -r dependencies ]) {
info "Depends: "
- cat dependencies | tr "\n" " " | sed 's/ /, /g'
+ cat dependencies | tr "\n" " " | sed 's/ /, /g' | sed 's/, $//'
echo
}
if ([ -r tags ]) {
info "Tags: "
- cat tags | tr "\n" " " | sed 's/ /, /g'
+ cat tags | tr "\n" " " | sed 's/ /, /g' | sed 's/, $//'
echo
}
if ([ -d hooks ]) {