#29093: changing $worksrcdir break the build when using git.fetch or hg.fetch --------------------------------------+------------------------------------- Reporter: ciserlohn@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.2 Keywords: haspatch | Port: --------------------------------------+------------------------------------- Comment(by ciserlohn@…): Replying to [comment:7 ryandesign@…]:
This needs to be fixed differently. `hgfetch` and `gitfetch` need to be rewritten to use `command_exec` (like `bzrfetch`, `cvzfetch` and `svnfetch` do) instead of `system`.
Please have a look at the new patch. It uses the 'command_exec' for git.fetch and fetches the source to '$workpath/$distname' like the first patch. Feedback and suggestions are welcome. -- Ticket URL: <https://trac.macports.org/ticket/29093#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS