Nick It seems that one of us put a typo into gump.sh:
if [ -n $"STARTED_FROM_CRON" ] ; then ought be: if [ -n "$STARTED_FROM_CRON" ] ; then .. i.e. $ inside the ". regards, Adam -----Original Message----- From: Adam Jack [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:32 PM To: 'Gump code and data' Subject: RE: gump.sh & gumppy.sh Nick It seems gump.sh has been checked in w/ merge problems (<<<<<<<<<<<). It also seems that this list dropped the two files I attached. Mind if I P2P you the files one more time? Thanks in advance... regards Adam -----Original Message----- From: Adam Jack [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 8:35 AM To: [EMAIL PROTECTED] Subject: gump.sh & gumppy.sh I don't know if anybody is using these but me (perhaps Nick), but would somebody mind checking them into the root directory of jakarta-gump? Gump.sh is an update to an existing file. The gump has these changes/fixes (below) and the gumppy.sh is attempting to be an equivalent for Python Gump. Basically these scripts allow one to set three environment variables (GUMP location, W/S, log) and run multiple gumps on one box, from soup to nuts -- at least for common cron usage. Changes/Fixes: 1) Allow passing a target (to pass to update/build) on command line. 2) Removed the "gump" before clean in "build.sh clean" [Fails for me w/ gump there]. 3) Moved the environment dump before all actions. 4) Added more information echoed to the gump.html file. [Target/Location] 5) Fixed the cron test. [So only nags when run from cron]. Since the scripts do a Gump CVS update each time, I need these checked into CVS in order to not lose my changes. These are in Unix file format: regards, Adam -- <http://www.try.sybase.com> Experience Sybase Technology ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
