This file is indexed.

/usr/share/globus/globus-script-initializer is in globus-common-progs 17.2-1.

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
prefix="${GLOBUS_LOCATION-/usr}"
exec_prefix="${prefix}"
sbindir="${exec_prefix}/sbin"
bindir="${exec_prefix}/bin"
includedir="${prefix}/include/globus"
datarootdir="${prefix}/share"
datadir="${datarootdir}"
libexecdir="${datadir}/globus"
for arch_specific in "${libexecdir}/globus-script-initializer."*; do
    if [ -f "${arch_specific}" ]; then
        . "${arch_specific}"
        if [ -d "$libdir" ]; then
            libdirs="${libdirs:+$libdirs }$libdir"
        fi
    fi
done
sysconfdir="/etc"
sharedstatedir="/var/lib"
localstatedir="/var"

for libdir in ${libdirs}; do
    if [ x$prefix != "x/usr" ]; then
        if [ `uname 2> /dev/null` = Linux -o \
             `uname 2> /dev/null` = SunOS ]; then
            LD_LIBRARY_PATH="${libdir}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
            export LD_LIBRARY_PATH 
        fi

        if [ `uname 2> /dev/null` = 'Darwin' ]; then
            DYLD_LIBRARY_PATH="${libdir}${DYLD_LIBRARY_PATH:+:$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
            SHLIB_PATH="${libdir}${SHLIB_PATH:+:$SHLIB_PATH}"
            export SHLIB_PATH
        fi
    fi
done

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"
}