Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets . "${rundir}/sets.subr", overlooked in previous...



details:   https://anonhg.NetBSD.org/src/rev/3a08705d81ad
branches:  trunk
changeset: 586858:3a08705d81ad
user:      apb <apb%NetBSD.org@localhost>
date:      Wed Jan 04 13:38:18 2006 +0000

description:
. "${rundir}/sets.subr", overlooked in previous commit.

diffstat:

 distrib/sets/culldeps |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r a9f227d2c8bb -r 3a08705d81ad distrib/sets/culldeps
--- a/distrib/sets/culldeps     Wed Jan 04 13:35:55 2006 +0000
+++ b/distrib/sets/culldeps     Wed Jan 04 13:38:18 2006 +0000
@@ -20,6 +20,9 @@
 #
 
 prog="${0##*/}"
+rundir="$(dirname "$0")" # ${0%/*} isn't good enough when there's no "/"
+. "${rundir}/sets.subr"
+
 SCRATCH="$(${MKTEMP} -d "/var/tmp/${prog}.XXXXXX")"
 NEXTLEFTOVERS="${SCRATCH}/leftovers0"
 LASTJOIN="${SCRATCH}/join0"



Home | Main Index | Thread Index | Old Index