You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by ni...@apache.org on 2003/07/19 23:55:19 UTC
cvs commit: jakarta-gump gump.sh
nickchalko 2003/07/19 14:55:19
Modified: . gump.sh
Log:
Added GUMP_WORKSPACE variable
PR:
Obtained from:
Submitted by: Adam Jack ajack@trysybase.com
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.9 +53 -4 jakarta-gump/gump.sh
Index: gump.sh
===================================================================
RCS file: /home/cvs/jakarta-gump/gump.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- gump.sh 26 Jun 2003 06:39:55 -0000 1.8
+++ gump.sh 19 Jul 2003 21:55:19 -0000 1.9
@@ -1,3 +1,4 @@
+
#!/bin/bash
#
# $Header$
@@ -37,6 +38,10 @@
export GUMP_LOG=$GUMP_LOG_DIR/gump.html
export GUMP_PROFILE_LOG_DIR=$GUMP_LOG_DIR/myprofile
+if [ -z "$GUMP_WORKSPACE" ] ; then
+ export GUMP_WORKSPACE=${GUMP_HOST}
+fi
+
export SEPARATOR='------------------------------------------------------- G U M P'
#
@@ -75,8 +80,8 @@
mkdir $GUMP_PROFILE_LOG_DIR;
fi
cp $GUMP/gump.sh $GUMP_PROFILE_LOG_DIR
-cp $GUMP_HOST.xml $GUMP_PROFILE_LOG_DIR
-cp `grep profile $GUMP_HOST.xml | cut -d\" -f2` $GUMP_PROFILE_LOG_DIR
+cp ${GUMP_WORKSPACE}.xml $GUMP_PROFILE_LOG_DIR
+cp -R `grep profile ${GUMP_WORKSPACE}.xml | cut -d\" -f2` $GUMP_PROFILE_LOG_DIR
@@ -107,7 +112,7 @@
#
cd $GUMP
echo $SEPARATOR >> $GUMP_LOG
-bash gen.sh ${GUMP_HOST}.xml >> $GUMP_LOG 2>&1
+bash gen.sh ${GUMP_WORKSPACE}.xml >> $GUMP_LOG 2>&1
echo >> $GUMP_LOG
#
@@ -141,11 +146,11 @@
pkill -P $$
# $Log$
-# Revision 1.8 2003/06/26 06:39:55 nickchalko
-# Add ant nobuild-project to the gump sequence.
+# Revision 1.9 2003/07/19 21:55:19 nickchalko
+# Added GUMP_WORKSPACE variable
# PR:
# Obtained from:
-# Submitted by:
+# Submitted by: Adam Jack ajack@trysybase.com
# Reviewed by:
# CVS: ----------------------------------------------------------------------
# CVS: PR:
@@ -163,6 +168,47 @@
# CVS: reviewed your changes, include their name(s) here.
# CVS: If you have not had it reviewed then delete this line.
#
+# Revision 1.8 2003/06/26 06:39:55 nickchalko
+# Add ant nobuild-project to the gump sequence.
+
+# PR:
+
+# Obtained from:
+
+# Submitted by:
+
+# Reviewed by:
+
+# CVS: ----------------------------------------------------------------------
+
+# CVS: PR:
+
+# CVS: If this change addresses a PR in the problem report tracking
+
+# CVS: database, then enter the PR number(s) here.
+
+# CVS: Obtained from:
+
+# CVS: If this change has been taken from another system, such as NCSA,
+
+# CVS: then name the system in this line, otherwise delete it.
+
+# CVS: Submitted by:
+
+# CVS: If this code has been contributed to Apache by someone else; i.e.,
+
+# CVS: they sent us a patch or a new module, then include their name/email
+
+# CVS: address here. If this is your work then delete this line.
+
+# CVS: Reviewed by:
+
+# CVS: If we are doing pre-commit code reviews and someone else has
+
+# CVS: reviewed your changes, include their name(s) here.
+
+# CVS: If you have not had it reviewed then delete this line.
+#
# Revision 1.7 2003/06/02 18:18:44 nickchalko
# Fixed typo. $ should be inside the ""
# PR:
@@ -227,3 +273,6 @@
#
# Submitted by: Adam Jack ajack@TrySybase.com
#
+
+
+