httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: CGI hosed in v2.0.43
Date Mon, 23 Dec 2002 14:11:26 GMT
Jim Jagielski wrote:

> Is it possible to see the script, or at least a flow of what the script
> does? Hmmm... could it possibly be an envar issue?

#!/bin/sh

WORKDIR=/tmp
JAVA_HOME=/opt/IBMJava2-131/
PATH=$PATH:$JAVA_HOME/bin
export JAVA_HOME PATH
if [ $QUERY_STRING ]; then
   DEPLOY_PATH=vendir-$QUERY_STRING
else
   DEPLOY_PATH=vendir
fi

mkdir -p $WORKDIR/vd/$QUERY_STRING
cd $WORKDIR/vd/$QUERY_STRING

# Pull everything from CVS

echo "Content-Type: text/html"
echo

echo "<A name=\"stablecvs\"></A>"
echo "<H2>Pull from CVS</H2>"
echo "<PRE>"

export CVSROOT=":pserver:xx:xx@xx.xx.xx.xx/f//cvsroot"

cd $WORKDIR/vd/$QUERY_STRING
if [ $QUERY_STRING ]; then
   cvs -z3 checkout -r $QUERY_STRING vendir
else
   cvs -z3 checkout vendir
fi

<-- we never get here!!!

echo "</PRE>"

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


Mime
View raw message