[PD-dev] what does plutil -replace do? (build failing on my machine)

Dan Wilcox danomatika at gmail.com
Thu Jul 13 12:17:04 CEST 2017


Ok, looks like the -replace option was added to plutil in macOS 10.10 or later. I can replace it with good ole sed and then run plutil -lint to make sure its good.

> On Jul 13, 2017, at 12:06 PM, Dan Wilcox <danomatika at gmail.com> wrote:
> 
> It might be something added to plutil in later versions of macOS. I can take a look around.
> 
> If so, there might be an alternate command which can be invoked depending on the detected OS version.
> 
>> On Jul 13, 2017, at 12:00 PM, pd-dev-request at lists.iem.at <mailto:pd-dev-request at lists.iem.at> wrote:
>> 
>> From: Miller Puckette <msp at ucsd.edu <mailto:msp at ucsd.edu>>
>> Subject: [PD-dev] what does plutil -replace do? (build failing on my machine)
>> Date: July 13, 2017 at 7:29:07 AM GMT+2
>> To: pd-dev at iem.at <mailto:pd-dev at iem.at>
>> 
>> 
>> Hi all -
>> I tried to "make app" on an OSX 10.6 system (the most recent
>> OS I have ATM :) and get:
>> 
>> rm -rf ../Pd-0.47.1.app
>> ../mac/osx-app.sh 0.47.1
>> unrecognized option: -replace
>> plutil: [command_option] [other_options] file...
>> The file '-' means stdin
>> Command options are (-lint is the default):
>> -help		show this message and exit
>> -lint		check the property list files for syntax errors
>> -convert fmt	rewrite property list files in format
>> 		fmt is one of: xml1 binary1
>> There are some additional optional arguments:
>> -s		be silent on success
>> -o path	specify alternate file path name for result;
>> 		the -o option is used with -convert, and is only
>> 		useful with one file argument (last file overwrites);
>> 		the path '-' means stdout
>> -e extension	specify alternate extension for converted files
>> --		specifies that all further arguments are file names
>> make[1]: *** [app] Error 1
>> make: *** [app] Error 2
>> 
>> -------------
>> 
>> Before I spend the next week trying to upgrade my OS, is there any
>> wisdom on how I can avoid hving to use the -replace option (which
>> I can't even find documented anywhere on the web...)
>> 
>> thanks
>> Miller
> 
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
> 
> 
> 

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20170713/6d0729af/attachment-0001.html>


More information about the Pd-dev mailing list