[MacPorts] #51607: github-1.0.tcl Expects directory to be unzipped & fails if directory not present

MacPorts noreply at macports.org
Sun Jun 12 16:38:12 PDT 2016


#51607: github-1.0.tcl Expects directory to be unzipped & fails if directory not
present
----------------------------+--------------------------------
 Reporter:  sonofiron@…     |      Owner:  macports-tickets@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.3.4
 Keywords:  github-1.0.tcl  |       Port:
----------------------------+--------------------------------
 Line 174-177 of github-1.0.tcl performs a glob search expecting a non-
 standardized format of `author-project-*`.  Many of the Portfiles i've
 generated using this PortGroup fail because the extracted contents are
 simple binaries, with no author or suffix attached.


 {{{
 if {[file exists [glob ${workpath}/${github.author}-${github.project}-*]]
 && \
             [file isdirectory [glob
 ${workpath}/${github.author}-${github.project}-*]]} {
                 move [glob
 ${workpath}/${github.author}-${github.project}-*] ${workpath}/${distname}
             }
 }}}

 Logic must be added to be more inclusive of ${workpath}/${github.project}

-- 
Ticket URL: <https://trac.macports.org/ticket/51607>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list