summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenpkglist4
1 files changed, 2 insertions, 2 deletions
diff --git a/genpkglist b/genpkglist
index 79224d8..9207a2f 100755
--- a/genpkglist
+++ b/genpkglist
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: genpkglist,v 1.15 2007/09/14 16:38:41 thomas Exp $
+# $Id: genpkglist,v 1.16 2007/09/14 22:57:54 thomas Exp $
#
# genpkglist
@@ -58,7 +58,7 @@ done
showdupes() {
done=
for i in *.pkg.tar.gz; do
- pkgname=${i%-*-*}
+ pkgname=$(getpkgname $i)
if [ "$pkgname" = "$1" ]; then
ls -l $i | awk '{print $6" "$7" "$8" "$9}'
done=1