Re: productbuild(1) distribution definition
Re: productbuild(1) distribution definition
- Subject: Re: productbuild(1) distribution definition
- From: Dave Barker-Plummer <email@hidden>
- Date: Thu, 25 Apr 2013 17:13:58 -0700
I should probably have mentioned the places that do not work:
- the working directory when productbuild is run
- the directory containing the distribution file
- the directories on the package-path
-- Dave
On Apr 25, 2013, at 3:17 PM, Greg Neagle <email@hidden> wrote:
> Most UNIX tools interpret relative paths as relative to the current working directory.
>
> I'd be surprised if productbuild doesn't do the same. If it doesn't, it's a bug and should be reported.
>
> A big exception is /usr/bin/defaults, which does not "do" relative paths. But that is because `default` really operates on preference domains, and not files.
>
> -Greg
>
> On Apr 25, 2013, at 3:09 PM, Dave Barker-Plummer <email@hidden> wrote:
>
>> The productbuild(1) command line tool for building installers allows one to specify files to be included in the installer (readme, license and the like) within the distribution.xml file.
>>
>> I can get this to work by specifying an absolute path name for these keys, but all my attempts to use a relative path name have been unsuccessful. Has anyone been able to use a relative path here, and to work out how the path is interpreted (relative to what)?
>>
>> -- Dave
>>
>> Documentation for the xml format here:
>> https://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Installer-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden