[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbrowser/master] update linux makefile with new libevent2 libraries and fix the XAUTHORITY bug



commit cb101fdce6c7a8b1dc1a58ceef979d316c83b3d8
Author: Erinn Clark <erinn@xxxxxxxxxxxxxx>
Date:   Wed Mar 23 22:01:04 2011 +0100

    update linux makefile with new libevent2 libraries and fix the XAUTHORITY bug
---
 src/RelativeLink/RelativeLink.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/RelativeLink/RelativeLink.sh b/src/RelativeLink/RelativeLink.sh
index 5b83305..c5b7b28 100755
--- a/src/RelativeLink/RelativeLink.sh
+++ b/src/RelativeLink/RelativeLink.sh
@@ -14,6 +14,11 @@ if [ $1 ]; then
 	printf "\nDebug enabled.\n\n"
 fi
 
+if [ -z $XAUTHORITY]; then 
+	XAUTHORITY=~/.Xauthority
+	export XAUTHORITY
+fi
+
 # Try to be agnostic to where we're being started from, chdir to where
 # the script is.
 mydir="$(dirname $0)"



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits