diff options
| author | John Polstra <jdp@FreeBSD.org> | 2007-01-29 01:13:35 +0000 | 
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 2007-01-29 01:13:35 +0000 | 
| commit | f83451d8f68072b79c86919e018ddffaa362b262 (patch) | |
| tree | 1c1eaeb7855205e3a728798cdad03001863f3767 /net/cvsup-mirror/files | |
| parent | Default to elf instead of a.out. (diff) | |
Fix bug:  When the net/cvsup-mirror port is installed on a system
with OSVERSION >= 600101, the update.sh script is unable to start
PREFIX/etc/rc.d/cvsupd.sh script, as it doesn't exist. Instead the
cvsupd.sh script is named cvsupd on systems with OSVERSION >=
600101.
PR:		ports/108483
Submitted by:	Scot Hetzel
Diffstat (limited to 'net/cvsup-mirror/files')
| -rw-r--r-- | net/cvsup-mirror/files/update.sh.in (renamed from net/cvsup-mirror/files/update.sh) | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/net/cvsup-mirror/files/update.sh b/net/cvsup-mirror/files/update.sh.in index f0af07111bd7..46b78b275390 100644 --- a/net/cvsup-mirror/files/update.sh +++ b/net/cvsup-mirror/files/update.sh.in @@ -45,9 +45,9 @@ su -f -m ${cuser} -c \  if [ ${ok} = yes ]; then      if [ -f ${base}/.start_server ]; then -	if [ -x ${startup}/cvsupd.sh ]; then +	if [ -x ${startup}/%%CVSUPD%% ]; then  	    echo -n "Starting the server:" -	    /bin/sh ${startup}/cvsupd.sh start +	    /bin/sh ${startup}/%%CVSUPD%% start  	    echo "."  	fi  	rm -f ${base}/.start_server  | 
