#!/bin/sh # Copyrights : CNRS # Author : Oleg Lodygensky # Acknowledgment : XtremWeb-HEP is based on XtremWeb 1.8.0 by inria : http://www.xtremweb.net/ # Web : http://www.xtremweb-hep.org # # This file is part of XtremWeb-HEP. # # XtremWeb-HEP is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # XtremWeb-HEP is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with XtremWeb-HEP. If not, see . # # # ****************************************************************** # File : xwproxy # Date : Aug 24th 2011 # Author : Oleg Lodygensky (lodygens -a-t- lal.in2p3.fr) # # OS : Linux like # # Purpose : a script to connect to a work using SmartSockets # # !!!!!!!!!!!!!!!! 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/xwworks "--xwsmartsocketsproxy" $*