You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/07/12 05:54:45 UTC

svn commit: rev 22824 - spamassassin/trunk/build

Author: felicity
Date: Sun Jul 11 20:54:44 2004
New Revision: 22824

Modified:
   spamassassin/trunk/build/update_website_docs
Log:
update webbuild stuff with new perl location

Modified: spamassassin/trunk/build/update_website_docs
==============================================================================
--- spamassassin/trunk/build/update_website_docs	(original)
+++ spamassassin/trunk/build/update_website_docs	Sun Jul 11 20:54:44 2004
@@ -3,10 +3,18 @@
 WEBDIR=/www/spamassassin.apache.org
 vers=3.0.x
 
+if [ -z "$PERL" ]; then
+  if [ -x /home/jm/perl584/bin/perl ]; then
+    PERL=/home/jm/perl584/bin/perl
+  else
+    PERL=perl
+  fi
+fi
+
 find . -name '.#*' -print | xargs rm -f # delete old CVS files
 
 [ -d $WEBDIR/full/$vers ] || mkdir -p $WEBDIR/full/$vers
-perl Makefile.PL < /dev/null
+$PERL Makefile.PL PERL=$PERL < /dev/null
 make; make text_html_doc 
 
 rm -rf $WEBDIR/full/dist