#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 latest patch. 'command_exec' is used for both git.fetch and hg.fetch. The source will also be fetched to '$workpath/$distname' like the first patch does. Feedback and suggestions are welcome. -- Ticket URL: <https://trac.macports.org/ticket/29093#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS