Subject: CVS commit: pkgsrc/pkgtools/rc.subr
To: None <pkgsrc-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: pkgsrc-changes
Date: 06/28/2003 07:15:29
Module Name: pkgsrc
Committed By: grant
Date: Sat Jun 28 07:15:28 UTC 2003
Modified Files:
pkgsrc/pkgtools/rc.subr: Makefile
pkgsrc/pkgtools/rc.subr/files: rc.subr
Log Message:
update to 20030627. sync with -current:
----------------------------
revision 1.58
date: 2003/06/27 05:01:21; author: lukem; state: Exp; lines: +7 -1
If _rc_subr_loaded=true, "return" immediately, otherwise set that var
and continue as normal.
Gains ~ 2 seconds on 110 runs of ". rc.subr" on a shark.
Suggested by Andrew Cagney in [bin/18400]
----------------------------
revision 1.57
date: 2003/06/27 04:06:01; author: lukem; state: Exp; lines: +2 -2
run_rc_command(): when checking if ${command} exists before executing it,
be sure to check under ${name_chroot} (if set).
Fix from Ed Ravin in [bin/18523]
----------------------------
revision 1.56
date: 2003/06/03 14:00:45; author: christos; state: Exp; lines: +4 -4
Use more concise shell syntax:
1. for i in $* -> for i
2. foo=$* -> foo="$@"
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/pkgtools/rc.subr/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/rc.subr/files/rc.subr
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.