[or-cvs] r20408: {torbrowser} This should work with sh, bash, dash and others. (torbrowser/trunk/src/RelativeLink)

ioerror at seul.org ioerror at seul.org
Fri Aug 28 03:07:00 UTC 2009


Author: ioerror
Date: 2009-08-27 23:07:00 -0400 (Thu, 27 Aug 2009)
New Revision: 20408

Modified:
   torbrowser/trunk/src/RelativeLink/RelativeLink.sh
Log:
This should work with sh, bash, dash and others.


Modified: torbrowser/trunk/src/RelativeLink/RelativeLink.sh
===================================================================
--- torbrowser/trunk/src/RelativeLink/RelativeLink.sh	2009-08-28 02:58:23 UTC (rev 20407)
+++ torbrowser/trunk/src/RelativeLink/RelativeLink.sh	2009-08-28 03:07:00 UTC (rev 20408)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Gnu/Linux does not really require something like RelativeLink.c
 # However, we do want to have the same look and feel with similiar features.
@@ -7,12 +7,12 @@
 #
 
 echo "Attemping to properly configure HOME..."
-export HOME=$PWD
+export HOME=${PWD}
 echo $HOME
-export LDPATH=$HOME/Lib/
+export LDPATH=${HOME}/Lib/
 echo "Attemping to properly configure LDPATH..."
 echo $LDPATH
-export LD_LIBRARY_PATH=$HOME/Lib/
+export LD_LIBRARY_PATH=${HOME}/Lib/
 echo "Attemping to properly configure LD_LIBRARY_PATH..."
 echo $LD_LIBRARY_PATH
 export DYLD_PRINT_LIBRARIES=1



More information about the tor-commits mailing list