[m-rev.] diff: updates to install_webpages

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jan 21 17:36:17 AEDT 2004


Estimated hours taken: 0.25
Branches: main

Some fixes for the web page installation script.

w3/bin/install_webpages:
	Set the www_host to ceres, not venus.
	Also, ensure that error messages start with "**",
	so that they get included in the install.w3.errs file.

Workspace: /mnt/ceres/home/ceres/fjh/mercury
Index: w3/bin/install_webpages
===================================================================
RCS file: /home/mercury1/repository/w3/bin/install_webpages,v
retrieving revision 1.23
diff -u -d -r1.23 install_webpages
--- w3/bin/install_webpages	23 Sep 2002 16:09:38 -0000	1.23
+++ w3/bin/install_webpages	21 Jan 2004 06:32:18 -0000
@@ -6,11 +6,12 @@
 # search database and installing the web pages.
 #
 # Note this script must be run on a machine with php3, hypermail and htdig
-# installed, ie venus, have the INSTALL_WEBDIR environment variable set
+# installed, ie ceres, have the INSTALL_WEBDIR environment variable set
 # and be run from the top level directory of the w3 module.
 #
 
-www_host=venus
+# www_host=venus
+www_host=ceres
 
 PATH=/usr/local/bin:$PATH
 export PATH
@@ -23,20 +24,20 @@
 whathost=`hostname | sed -e 's/\..*//'`
 if [ $whathost != "$www_host" ]
 then
-    echo "install_webpages: must be run on $www_host."
+    echo "** install_webpages: must be run on $www_host."
     exit 1
 fi
 
 DIR=${INSTALL_WEBDIR=spec_unknown_value}
 if [ $DIR == "spec_unknown_value" ]
 then
-    echo "install_webpages: INSTALL_WEBDIR not set."
+    echo "** install_webpages: INSTALL_WEBDIR not set."
     exit 1
 fi
 
 if [ ! -e "news.php3" ]
 then
-    echo "install_webpages: must be run from the top level of w3 module."
+    echo "** install_webpages: must be run from the top level of w3 module."
     exit 1
 fi
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list