Changeset 12430


Ignore:
Timestamp:
May 26, 2005, 6:28:41 AM (15 years ago)
Author:
pguyot (Paul Guyot)
Message:

Add single quotes around the URL for curl.
This is required by jam port (when you have a stupid internet connection that
filters FTP, that is).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portfetch.tcl

    r10788 r12430  
    106106
    107107# Given a site url and the name of the distfile, assemble url and
    108 # return it
     108# return it, single quoted.
    109109proc portfetch::assemble_url {site distfile} {
    110110    if {[string index $site end] != "/"} {
    111         return "${site}/${distfile}"
     111        return "'${site}/${distfile}'"
    112112    } else {
    113         return "${site}${distfile}"
     113        return "'${site}${distfile}'"
    114114    }
    115115}
Note: See TracChangeset for help on using the changeset viewer.