blob: 1d14941af2b54eff47df32acb83351d4a114db82 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Index: bin/googleearth
@@ -8,6 +8,16 @@ if [ "${GOOGLEEARTH_DATA_PATH}" = "" ];
GOOGLEEARTH_DATA_PATH="$(dirname "$(readlink -f "$0")")"
fi
+ulimit -s 32768 2>/dev/null
+
+# For browser wrapper script (to use original LD_LIBRARY_PATH)
+if [ -n "${BROWSER}" ]
+then
+ export REAL_BROWSER="${BROWSER}"
+ export REAL_LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
+ export BROWSER=${GOOGLEEARTH_DATA_PATH}/bin/browserwrapper
+fi
+
LD_LIBRARY_PATH=.:${GOOGLEEARTH_DATA_PATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
|