~ubuntu-branches/ubuntu/quantal/globus-gridmap-callout-error/quantal

1 by Mattias Ellert
Import upstream version 0.3
1
#! /bin/sh
2
3
# checking for the GLOBUS_LOCATION
4
5
if test "x$GLOBUS_LOCATION" = "x"; then
1.1.1 by Mattias Ellert
Import upstream version 1.2
6
    echo "Using default GLOBUS_LOCATION of /usr"
7
    GLOBUS_LOCATION="/usr"
1 by Mattias Ellert
Import upstream version 0.3
8
fi
9
1.1.1 by Mattias Ellert
Import upstream version 1.2
10
if [ ! -f ${GLOBUS_LOCATION}/share/globus/globus-bootstrap.sh ]; then
11
    echo "ERROR: Unable to locate \${GLOBUS_LOCATION}/share/globus/globus-bootstrap.sh"
1 by Mattias Ellert
Import upstream version 0.3
12
    echo "       Please ensure that you have installed the globus-core package and"
13
    echo "       that GLOBUS_LOCATION is set to the proper directory"
14
    exit
15
fi
16
1.1.1 by Mattias Ellert
Import upstream version 1.2
17
. ${GLOBUS_LOCATION}/share/globus/globus-bootstrap.sh