From 5bf837c7e7dac1380f9280daafa771cdea3e3568 Mon Sep 17 00:00:00 2001 From: "smontagu%netscape.com" Date: Wed, 6 Nov 2002 22:22:32 +0000 Subject: [PATCH] Bug 178623: run-mozilla.sh should popuplate ${XPSERVERLIST} if it was not set yet. Author=Roland.Mainz@informatik.med.uni-giessen.de, r=pete.zha@sun.com, sr=roc+moz, moa=cls git-svn-id: svn://10.0.0.236/trunk@133201 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/build/unix/run-mozilla.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mozilla/build/unix/run-mozilla.sh b/mozilla/build/unix/run-mozilla.sh index 4442862e98d..cd219c2280b 100755 --- a/mozilla/build/unix/run-mozilla.sh +++ b/mozilla/build/unix/run-mozilla.sh @@ -391,6 +391,16 @@ then XSUNSMESIZE="512" export XSUNTRANSPORT XSUNSMESIZE fi +## Populate XPSERVERLIST if it was not set yet +if [ "$XPSERVERLIST" = "" ] +then + if [ -f /etc/init.d/xprint ] ; then + XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`" + if [ "$XPSERVERLIST" != "" ] ; then + export XPSERVERLIST + fi + fi +fi # Font path for Xft FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft" export FONTCONFIG_PATH