/[pdpsoft]/trunk/grid-mw-security/glexec/util/wrap-env-var/glexec_wrap.sh
ViewVC logotype

Diff of /trunk/grid-mw-security/glexec/util/wrap-env-var/glexec_wrap.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1899 by msalle, Wed Jul 7 13:56:07 2010 UTC revision 1900 by okoeroo, Mon Aug 30 17:03:06 2010 UTC
# Line 20  Line 20 
20  #      NIKHEF Amsterdam, the Netherlands  #      NIKHEF Amsterdam, the Netherlands
21  #      janjust@nikhef.nl  #      janjust@nikhef.nl
22    
23  cd ${GLITE_LOCATION:-/opt/glite}  if test -n "${GLEXEC_LOCATION}"
24    then
25        BASEDIR="${GLEXEC_LOCATION}"
26    elif test -n "${GLITE_LOCATION}"
27    then
28        BASEDIR="${GLITE_LOCATION}"
29    else
30        BASEDIR="/opt/glite"
31    fi
32    
33    
34    cd ${BASEDIR}
35  export GLEXEC_ENV=`${0%/*}/glexec_wrapenv.pl`  export GLEXEC_ENV=`${0%/*}/glexec_wrapenv.pl`
36  exec ${GLITE_LOCATION:-/opt/glite}/sbin/glexec ${0%/*}/glexec_unwrapenv.pl -- $@  exec ${BASEDIR}/sbin/glexec ${0%/*}/glexec_unwrapenv.pl -- $@

Legend:
Removed from v.1899  
changed lines
  Added in v.1900

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28