Subject: pkg/33401: typo in files/pkg_chk.sh (1.70)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <h-masuda@ootani.nagata.kobe.jp>
List: pkgsrc-bugs
Date: 05/01/2006 07:15:00
>Number:         33401
>Category:       pkg
>Synopsis:       typo in files/pkg_chk.sh (1.70)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 01 07:15:00 +0000 2006
>Originator:     MASUDA Hideo
>Release:        NetBSD 3.0_STABLE (20060411)
>Organization:
MASUDA-NET
>Environment:
NetBSD jeanne-darc-xen.ootani.nataga.kobe.jp 3.0_STABLE NetBSD 3.0_STABLE (NFORCE_XEN0) #14: Mon May  1 10:18:34 JST 2006 admin@jeanne-darc-xen.ootani.nataga.kobe.jp:/usr/src/sys/arch/i386/compile/NFORCE_XEN0 i386

>Description:
I just notice the following:

# /usr/pkg/sbin/pkg_chk -S -b
[ Scan /home/fs/packages/NetBSD-3.0/i386/All ]
[ Write /pkg_chk-summary ]

I think that the last line should be "[ Write /home/fs/packages/NetBSD-3.0/i386/All/pkg_chk.summary ]".

>How-To-Repeat:
cd $PKGSRCDIR/pkgtools/pkg_chk
make install
pkg_chk -S -b


>Fix:
Applying following patch will be happy.

--- files/pkg_chk.sh-dist       2006-04-25 04:25:21.000000000 +0900
+++ files/pkg_chk.sh    2006-05-01 15:52:53.000000000 +0900
@@ -722,7 +722,7 @@
 fi

 if [ -n "$opt_S" ]; then
-    msg_progress "Write $PACKGES/$SUMMARY_FILE"
+    msg_progress "Write $PACKAGES/$SUMMARY_FILE"
     echo "$PKGDB" | tr ' ' '\012' > $PACKAGES/$SUMMARY_FILE
 fi