#!/bin/sh # ****************************************************************** # File : xwgroupworks # Date : Thu Jun 10 2009 # Author : Oleg Lodygensky (lodygens -a-t- lal.in2p3.fr) # # OS : Linux # # Purpose : a script to retreive work status from server # # !!!!!!!!!!!!!!!! DO NOT EDIT !!!!!!!!!!!!!!!! # Remarks : this script is auto generated by install process # ****************************************************************** PRG=$0 ############################################################ # Let first reach "real" file through symbolic links, if any ############################################################ while [ -h "$PRG" ]; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null` if expr "$link" : '^/' 2> /dev/null >/dev/null; then PRG="$link" else PRG="`dirname $PRG`/$link" fi done progdir=`dirname $PRG` progname=`basename $0` ###################################################### # Main ###################################################### PROG="xtremweb.client" #ROOTDIR="$progdir/.." currentDir=`pwd` cd $progdir ROOTDIR=`pwd`/.. cd $currentDir . $ROOTDIR/bin/xtremweb.client "--xwgetgroupworks" "--xwgetgroupworks" $*