/usr/share/globus/globus-script-initializer is in globus-common-progs 14.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | if test -n "${GLOBUS_LOCATION}" ; then
prefix="${GLOBUS_LOCATION}"
else
prefix="/usr"
fi
exec_prefix="${prefix}"
sbindir="${exec_prefix}/sbin"
bindir="${exec_prefix}/bin"
libdir="${prefix}/lib"
includedir="${prefix}/include/globus"
datarootdir="${prefix}/share"
datadir="${datarootdir}"
libexecdir="${datadir}/globus"
sysconfdir="/etc"
sharedstatedir="/var/lib"
localstatedir="/var"
aclocaldir="${datadir}/globus/aclocal"
if [ x$prefix != "x/usr" ]; then
if [ `uname 2> /dev/null` = Linux -o \
`uname 2> /dev/null` = SunOS ]; then
DELIM=
if [ -n "${LD_LIBRARY_PATH}" ]; then
DELIM=:
fi
LD_LIBRARY_PATH="${libdir}${DELIM}${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
fi
if [ `uname 2> /dev/null` = 'Darwin' ]; then
DELIM=
if [ -n "${DYLD_LIBRARY_PATH}" ]; then
DELIM=:
fi
DYLD_LIBRARY_PATH="${libdir}${DELIM}${DYLD_LIBRARY_PATH}"
export DYLD_LIBRARY_PATH
fi
if [ `uname 2> /dev/null` = 'AIX' ]; then
if [ -z "${LIBPATH}" ]; then
LIBPATH="/usr/lib:/lib"
fi
LIBPATH="${libdir}:${LIBPATH}"
export LIBPATH
fi
if [ `uname 2> /dev/null` = 'HP-UX' ]; then
DELIM=
if [ -n "${SHLIB_PATH}" ]; then
DELIM=:
fi
SHLIB_PATH="${libdir}${DELIM}${SHLIB_PATH}"
export SHLIB_PATH
fi
fi
globus_source () {
# Check if file exists and source it
if [ ! -f "$1" ] ; then
${GLOBUS_SH_PRINTF-printf} "$1 not found.\n" >&2
exit 1
fi
. "$1"
}
|