On 8/11/10 23:25, phil hefferan wrote: [] > OK thanks I will investigate unstable, I'm a new fink user. Just > curious: what was broken with magic.inc and what fix did you apply?
The file magic.inc is produced by make using the following code in file/Makefile: magic.inc: magic echo -n "\"" > $@ sed -e 's/\\/\\\\/g' -e 's/"/\\\"/g' -e 's/$$/\ \\/' magic >> $@ echo -n "\"" >> $@ This does not work since MacOSX 10.5, because `echo -n` when run from a sh shell does not do what it is supposed to do, namely printing a line without carriage return at the end; instead it prints "-n" and then the line, plus CR. The fix is to replace "echo" by "/bin/echo" which interprets the -n option correctly. -- Martin ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel