#!/bin/sh # Get the location of the script and return to the base directory CURRENT_DIR=`pwd` RELATIVE_DIR=`dirname $0` cd $RELATIVE_DIR SCRIPT_LOCATION=`pwd` cd $CURRENT_DIR INSTANCE_NUMBER=`expr match "$SCRIPT_LOCATION" '.*\([0-9][0-9]\)/j2ee/cluster/bootstrap/scripts'` $SCRIPT_LOCATION/launcher.sh datcol $SCRIPT_LOCATION/datcol.jstart "-nr $INSTANCE_NUMBER -function CreateSnapshot $*" # This newline must remain