diff options
author | John Polstra <jdp@FreeBSD.org> | 2000-03-05 18:40:28 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 2000-03-05 18:40:28 +0000 |
commit | 9a07481b47d6d8bfa4bf4adde9b81c02e546efbb (patch) | |
tree | c4a018992147b8133947d55023e172b3e1292e57 /net/cvsup-mirror | |
parent | Update port to 0.8 (diff) |
Add "-f" to all "su" invocations for better behavior when the login
shell is csh.
Submitted by: ache
Notes
Notes:
svn path=/head/; revision=26573
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 | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/cvsup-mirror/files/cvsupd.sh b/net/cvsup-mirror/files/cvsupd.sh index 9a78f9a66f66..f470dd3c6070 100644 --- a/net/cvsup-mirror/files/cvsupd.sh +++ b/net/cvsup-mirror/files/cvsupd.sh @@ -19,7 +19,7 @@ cd ${rundir} || exit arg=${1:-start} case $arg in start) - su -m ${user} -c \ + su -f -m ${user} -c \ "cvsupd -e -C 100 -l @${facility} -b ${base} -s sup.client" \ >>${out} 2>&1;; diff --git a/net/cvsup-mirror/files/update.sh b/net/cvsup-mirror/files/update.sh index f0888ecbba07..1f0c4dbe6880 100644 --- a/net/cvsup-mirror/files/update.sh +++ b/net/cvsup-mirror/files/update.sh @@ -48,17 +48,17 @@ umask 2 ok=yes if [ ${host_crypto} = ${host} ]; then echo "Updating from ${host}" - su -m ${cuser} -c \ + su -f -m ${cuser} -c \ "${cmd} ${options} -h ${host} ${base}/supfile" || ok=no else if [ -d ${base}/prefixes/FreeBSD-crypto.cvs ]; then echo "Updating from ${host_crypto}" - su -m ${cuser} -c \ + su -f -m ${cuser} -c \ "${cmd} ${options} -h ${host_crypto} ${base}/supfile.crypto" ||\ ok=no fi echo "Updating from ${host}" - su -m ${cuser} -c \ + su -f -m ${cuser} -c \ "${cmd} ${options} -h ${host} ${base}/supfile.non-crypto" || ok=no fi |