diff options
author | John Polstra <jdp@FreeBSD.org> | 1998-02-12 01:14:02 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 1998-02-12 01:14:02 +0000 |
commit | d173bd5e461770119dc23e9cda812ac482876be7 (patch) | |
tree | 0c79624a628ee4969186fa0cf660602c2df3d75d /net/cvsup-mirror | |
parent | Upgrade, 1.0-971125 -> 1.0-971225. (diff) |
When sourcing "config.sh" in shell scripts, specify it as "./config.sh"
to prevent the shell from searching the PATH for the file.
Submitted by: David Quattlebaum <sasdrq@unx.sas.com>
Notes
Notes:
svn path=/head/; revision=9671
Diffstat (limited to 'net/cvsup-mirror')
-rw-r--r-- | net/cvsup-mirror/files/cvsupd.sh | 2 | ||||
-rw-r--r-- | net/cvsup-mirror/files/update.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/cvsup-mirror/files/cvsupd.sh b/net/cvsup-mirror/files/cvsupd.sh index ca4382e4eea1..82cfddb523fc 100644 --- a/net/cvsup-mirror/files/cvsupd.sh +++ b/net/cvsup-mirror/files/cvsupd.sh @@ -13,6 +13,6 @@ umask 2 test -x ${PREFIX}/sbin/cvsupd || exit 1 echo -n " cvsupd" cd ${base} || exit -. config.sh || exit +. ./config.sh || exit su -m ${user} -c \ "cvsupd -e -C ${maxclients} -l @${facility}" >>${out} 2>&1 diff --git a/net/cvsup-mirror/files/update.sh b/net/cvsup-mirror/files/update.sh index c8f8c978f703..76cd3db2e439 100644 --- a/net/cvsup-mirror/files/update.sh +++ b/net/cvsup-mirror/files/update.sh @@ -35,7 +35,7 @@ lockf -t 0 ${lock} /bin/sh << 'E*O*F' base=${PREFIX}/etc/cvsup cd ${base} || exit -. config.sh || exit +. ./config.sh || exit colldir=sup.client startup=${PREFIX}/etc/rc.d |