Ticket #12429 (reopened defect)
port cannot handle spaces in various variables
| Reported by: | nox@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | High | Milestone: | MacPorts base bugs |
| Component: | base | Version: | 1.7.0 |
| Keywords: | Cc: | sfiera@…, ryandesign@… | |
| Port: |
Description
Here is my code (taken from libsdl_gfx-framework):
worksrcdir "${distname}/Other Builds"
post-extract {
system "cd ${worksrcpath} && tar -xvzf OSX-PB.tgz"
}
port output:
---> Extracting SDL_gfx-2.0.16.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/libsdl_gfx/SDL_gfx-2.0.16.tar.gz
DEBUG: Environment:
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_N_Ox_src_MacPorts_ports_devel_libsdl_gfx-framework/work" && gzip -dc /opt/local/var/macports/distfiles/libsdl_gfx/SDL_gfx-2.0.16.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing proc-post-org.macports.extract-extract-0
sh: line 1: cd: /opt/local/var/macports/build/_Users_N_Ox_src_MacPorts_ports_devel_libsdl_gfx-framework/work/{SDL_gfx-2.0.16/Other: No such file or directory
Error: Target org.macports.extract returned: shell command "cd /opt/local/var/macports/build/_Users_N_Ox_src_MacPorts_ports_devel_libsdl_gfx-framework/work/{SDL_gfx-2.0.16/Other Builds} && tar -xvzf OSX-PB.tgz" returned error 1
Command output: sh: line 1: cd: /opt/local/var/macports/build/_Users_N_Ox_src_MacPorts_ports_devel_libsdl_gfx-framework/work/{SDL_gfx-2.0.16/Other: No such file or directory
Warning: the following items did not execute (for libsdl_gfx-framework): org.macports.extract
Error: Status 1 encountered during processing.
Change History
Note: See
TracTickets for help on using
tickets.

