Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Code fixes | 28 comments | Create New Account
Click here to return to the 'Code fixes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Code fixes
Authored by: Kalak on Apr 27, '10 07:44:05AM

They're not broken, they just work differently. The GNU tools installed by fink are what I'm more used to using from my linux experience starting when OSX was Nextstep, and I only wished I could afford the RAM to run it (early '90s). Some would ask the question of why OSX tools are "broken" because they use the BSD syntax. I see it as "you say tomato I say tomato" issue (ok, that doesn't type well). I've worked on both, but use the GNU tool much more than BSD tools. That's why I knew what the issue of why the script didn't work as posted on my box.

The changes will make sure the script works on any box, even with fink or macports installed, regardless of the user's PATH. The absolute path just makes sure your script uses the Apple installed utils, so you can focus on just supporting them, and will avoid a FAQ on why the script doesn't work.

---
--
Kalak
I am, and always will be, an Idiot.



[ Reply to This | # ]