#39405 closed defect (fixed)
Space character in packagemaker_path attribute in macports.conf breaks mpkg and mdmg
Reported by: | jaakko.pero@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.9.0 |
Component: | base | Version: | 2.1.3 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: |
Description
For example, if there's a line like this:
packagemaker_path /opt/Auxiliary\ Tools/PackageMaker.app
in macports.conf, then for example the execution of port -d mpkg zlib simply stops after these lines:
---> Creating pkg for zlib-1.2.8 DEBUG: Can't run pkg on this port without elevated privileges. Escalating privileges back to root. DEBUG: euid changed to: 0. egid changed to: 0.
WORKAROUND:
If the directory is renamed and the line on macports.conf is changed to:
packagemaker_path /opt/AuxiliaryTools/PackageMaker.app
Then the execution of continues as expected:
---> Creating pkg for zlib-1.2.8 DEBUG: Can't run pkg on this port without elevated privileges. Escalating privileges back to root. DEBUG: euid changed to: 0. egid changed to: 0. DEBUG: Calling /opt/AuxiliaryTools/PackageMaker.app/Contents/MacOS/PackageMaker for zlib pkg ...
Change History (7)
comment:1 Changed 11 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|
comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)
Cc: | egall@… added |
---|
comment:3 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | PackageMaker space removed |
---|
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
I'm not surprised; spaces in paths are not a good idea for the command line world and much software does not support it.
comment:5 Changed 14 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 14 months ago by jmroot (Joshua Root)
Milestone: | → MacPorts Future |
---|
comment:7 Changed 11 months ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 2.9.0 |
---|
Note: See
TracTickets for help on using
tickets.
Cc Me!