xinstal not making directories

Joshua Root jmr at macports.org
Fri Feb 27 03:50:24 PST 2009


Scott Haneda wrote:
>     # Create 'logs' directory in ASSP base
>     xinstall -d -o _assp -g _assp -m 0755 ${destroot}${assp_base}/logs
> 
> That will do nothing, unless I put something in it:
> 
>     xinstall -m 0644 ${worksrcpath}/mod_inst.pl
> ${destroot}${assp_base}/logs/mod_inst.pl
> 
> How can I create an empty directory in MacPorts?
> Is this correct behavior?

Empty directories are deleted at the end of the destroot phase unless
you use destroot.keepdirs. See the Guide.

- Josh


More information about the macports-users mailing list