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

erinn at torproject.org erinn at torproject.org
Sun Oct 23 23:18:22 UTC 2011


commit cb101fdce6c7a8b1dc1a58ceef979d316c83b3d8
Author: Erinn Clark <erinn at torproject.org>
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)"





More information about the tor-commits mailing list