[or-cvs] r20429: {torbrowser} We want this test to actually work. (torbrowser/trunk/src/RelativeLink)

ioerror at seul.org ioerror at seul.org
Fri Aug 28 19:34:25 UTC 2009


Author: ioerror
Date: 2009-08-28 15:34:25 -0400 (Fri, 28 Aug 2009)
New Revision: 20429

Modified:
   torbrowser/trunk/src/RelativeLink/RelativeLink.sh
Log:
We want this test to actually work.


Modified: torbrowser/trunk/src/RelativeLink/RelativeLink.sh
===================================================================
--- torbrowser/trunk/src/RelativeLink/RelativeLink.sh	2009-08-28 19:04:29 UTC (rev 20428)
+++ torbrowser/trunk/src/RelativeLink/RelativeLink.sh	2009-08-28 19:34:25 UTC (rev 20429)
@@ -9,7 +9,7 @@
 if [ $1 ]; then debug=$1; echo "Debug enabled!"; fi
 
 # If ${PWD} results in a zero length HOME, we can try something else...
-if [ -n ${PWD} ]; then
+if [ ! "${PWD}" ]; then
   echo "We're hacking around some braindamage...";
   export HOME=`pwd`;
   surveysays="This system has a messed up shell!";



More information about the tor-commits mailing list