[99822] trunk/base/setupenv.bash.in

raimue at macports.org raimue at macports.org
Sun Nov 18 03:20:14 PST 2012


Revision: 99822
          https://trac.macports.org/changeset/99822
Author:   raimue at macports.org
Date:     2012-11-18 03:20:14 -0800 (Sun, 18 Nov 2012)
Log Message:
-----------
setupenv.bash:
Correctly quote $DISPLAY

Modified Paths:
--------------
    trunk/base/setupenv.bash.in

Modified: trunk/base/setupenv.bash.in
===================================================================
--- trunk/base/setupenv.bash.in	2012-11-18 11:09:57 UTC (rev 99821)
+++ trunk/base/setupenv.bash.in	2012-11-18 11:20:14 UTC (rev 99822)
@@ -78,7 +78,7 @@
 }
 
 function export_display() {
-    if [ -z $DISPLAY ]; then
+    if [ -z "$DISPLAY" ]; then
         export DISPLAY=":0.0"
     fi
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121118/ee75afca/attachment.html>


More information about the macports-changes mailing list