|
|
Code fixes
Since I have gnu tools from fink installed first in my path, I need to change the script to work with absolute paths for programs, and I've added a patch(Now I just need to convert this to use gnu tools to run on my linux boxes.)
Another tip to add is to really remove files immediately, use a backslash before "rm", so "\rm" ----- Kalak I am, and always will be, an Idiot. --- -- Kalak I am, and always will be, an Idiot. Edited on Apr 22, '10 12:56:45PM by Kalak
Code fixes
Just out of curiosity, why do you have broken tools in your path?
Code fixes
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. ---
-- Kalak I am, and always will be, an Idiot.
Code fixes
Could you upload the modified code to gist and link it. I applied the patch but it gave failures.
Code fixes (fixed for real this time)
I reversed the order of the files when I created the diff. To use, save the hint's code to a file. I used .bash.trash.sh so it won't show in the finder, etc. Then run the following (which points to an updated diff):
curl http://iddl.vt.edu/~jackie/bash.trash.diff | patch -p0 .bash.trash.shyou then source .bash.trash.sh with the line: . ~/.bash_trashtry it, if you're happy, then remove .bash.trash.sh.orig--- -- Kalak I am, and always will be, an Idiot. --- -- Kalak I am, and always will be, an Idiot. Edited on Apr 29, '10 12:57:31PM by Kalak
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|