aboutsummaryrefslogtreecommitdiff
path: root/net/cvsup-mirror
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1998-02-12 01:14:02 +0000
committerJohn Polstra <jdp@FreeBSD.org>1998-02-12 01:14:02 +0000
commitd173bd5e461770119dc23e9cda812ac482876be7 (patch)
tree0c79624a628ee4969186fa0cf660602c2df3d75d /net/cvsup-mirror
parentd55f35c524c749e06f69ff87b01bfad1d5fdca16 (diff)
downloadports-d173bd5e461770119dc23e9cda812ac482876be7.tar.gz
ports-d173bd5e461770119dc23e9cda812ac482876be7.zip
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.sh2
-rw-r--r--net/cvsup-mirror/files/update.sh2
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