gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: jakarta-gump gumpy.sh
Date Tue, 04 Nov 2003 18:43:19 GMT
ajack       2003/11/04 10:43:18

  Modified:    .        gumpy.sh
  Log:
  Allow per host local configuration files.
  
  Revision  Changes    Path
  1.23      +10 -4     jakarta-gump/gumpy.sh
  
  Index: gumpy.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/gumpy.sh,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- gumpy.sh	3 Nov 2003 20:28:18 -0000	1.22
  +++ gumpy.sh	4 Nov 2003 18:43:18 -0000	1.23
  @@ -2,11 +2,15 @@
   #
   # $Header$
   
  +export GUMP_HOST=`hostname -s`
   export LOCAL_ENV=local-env-py.sh
   if [ -e  $LOCAL_ENV ] ; then
   	. $LOCAL_ENV
   fi
  -
  +export HOST_LOCAL_ENV=local-env-py-${GUMP_HOST}.sh
  +if [ -e  $HOST_LOCAL_ENV ] ; then
  +	. $HOST_LOCAL_ENV
  +fi
   if [ ! $GUMP ] ; then
   	echo "Set the \$GUMP variable to your gump install"
   	exit 1
  @@ -35,7 +39,6 @@
   export GUMP_PYTHON=$GUMP/python
   export GUMP_TMP=$GUMP/tmp
   export GUMP_WS_TMP=$GUMP_WS/tmp
  -export GUMP_HOST=`hostname -s`
   export GUMP_DATE=`date`
   export GUMP_LOG=$GUMP_LOG_DIR/gumpy.html
   export GUMP_PROFILE_LOG_DIR=$GUMP_LOG_DIR/myprofile
  @@ -93,8 +96,11 @@
   
   cp $GUMP/gumpy.sh $GUMP_PROFILE_LOG_DIR
   cp $GUMP_HOST.xml  $GUMP_PROFILE_LOG_DIR
  -if [ -e  $LOCAL_ENV ] ; then
  -	cp  $LOCAL_ENV $GUMP_PROFILE_LOG_DIR
  +if [ -e $LOCAL_ENV ] ; then
  +	cp $LOCAL_ENV $GUMP_PROFILE_LOG_DIR
  +fi
  +if [ -e $HOST_LOCAL_ENV ] ; then
  +	cp $HOST_LOCAL_ENV $GUMP_PROFILE_LOG_DIR
   fi
   
   cp -R `grep profile $GUMP_HOST.xml  | cut -d\" -f2` $GUMP_PROFILE_LOG_DIR
  @@ -197,7 +203,6 @@
   pkill -KILL -P $$ 
   
   # $Log$
  -# Revision 1.22  2003/11/03 20:28:18  ajack
  -# 1) Fix in projects.xml
  -# 2) Attempt to link to build failure from state icon
  +# Revision 1.23  2003/11/04 18:43:18  ajack
  +# Allow per host local configuration files.
   #
  
  
  

Mime
View raw message