[Nagiosplug-checkins] CVS: nagiosplug/tools setup,1.7,1.8

Ton Voon tonvoon at users.sourceforge.net
Fri Jun 27 03:31:12 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv24190

Modified Files:
	setup 
Log Message:
Fiddling as Solaris' which command is broken


Index: setup
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/tools/setup,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** setup	13 May 2003 22:03:48 -0000	1.7
--- setup	27 Jun 2003 10:30:47 -0000	1.8
***************
*** 10,12 ****
  fi
  
! cd doc && make
--- 10,26 ----
  fi
  
! # Lots of fiddling as Solaris' which command does give error if which fails
! docbook=0
! if [ `uname -s` = "SunOS" ] ; then
! 	if [ "`which docbook2html`" = "/"* ] ; then
! 		docbook=1
! 	fi
! else
! 	if which docbook2html ; then
! 		docbook=1
! 	fi
! fi
! 
! if [ $docbook = 1 ] ; then
! 	cd doc && make
! fi





More information about the Commits mailing list