You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2002/12/07 15:43:12 UTC
cvs commit: xml-forrest/src/resources/forrestbot/scripts refresh
jefft 2002/12/07 06:43:12
Modified: src/resources/forrestbot/scripts refresh
Log:
Allow some more vars to be overridden
Revision Changes Path
1.3 +3 -3 xml-forrest/src/resources/forrestbot/scripts/refresh
Index: refresh
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/forrestbot/scripts/refresh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- refresh 7 Dec 2002 12:54:02 -0000 1.2
+++ refresh 7 Dec 2002 14:43:12 -0000 1.3
@@ -20,14 +20,14 @@
DEST_DIR=$WEBAPP/sites
PATH=$PATH:$HOME/apps/bin
# Assume we're in the xml-forrest/src/resources/forrestbot/scripts
-FORREST=$BASE/../../../../
+[ -z "$FORREST" ] && FORREST=$BASE/../../../../
# Set this to true if you want to delete any local mods to the $FORREST and
# update from CVS. Not recommended unless scripts/ is moved outside the
# xml-forrest CVS hierarchy
-REGEN_FORREST=false
+[ -z "$REGEN_FORREST" ] && REGEN_FORREST=false
# Set to true to delete the work/ directory, which contains forrestbot-checked
# out CVS source. Setting to false is faster, but less safe
-REGEN_WORK=true
+[ -z "$REGEN_WORK" ] && REGEN_WORK=true
FORRESTBOT_SCRIPTS=$FORREST/src/resources/forrestbot/samples
SHBAT=$BASE/shbat
WORK=$BASE/work