[40414] trunk/base/src/port/port.tcl

raimue at macports.org raimue at macports.org
Tue Sep 30 19:53:38 PDT 2008


Revision: 40414
          http://trac.macports.org/changeset/40414
Author:   raimue at macports.org
Date:     2008-09-30 19:53:38 -0700 (Tue, 30 Sep 2008)
Log Message:
-----------
port/port.tcl:
Quote homepage URL to avoid problems with special shell characters like '&'.
Closes #16491

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-10-01 02:48:29 UTC (rev 40413)
+++ trunk/base/src/port/port.tcl	2008-10-01 02:53:38 UTC (rev 40414)
@@ -2395,7 +2395,7 @@
 
                     # Try to open a browser to the homepage for the given port
                     if { $homepage != "" } {
-                        system "${macports::autoconf::open_path} $homepage"
+                        system "${macports::autoconf::open_path} '$homepage'"
                     } else {
                         ui_error [format "No homepage for %s" $portname]
                     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080930/4f9df0e6/attachment.html 


More information about the macports-changes mailing list