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


Click here to return to the '10.6: Update renders Mac with PGP disk encryption unbootable' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Update renders Mac with PGP disk encryption unbootable
Authored by: Typhoon14 on Nov 12, '10 08:02:24PM

OK, to repeat what I said in reply to script errors:

"OK, figured it out. It looks like for whatever reason the file was getting saved with the wrong line endings (Windows-style CRLF instead of unix-style LF). In my case, I opened the file in Textmate, and saved it with LF line endings. After doing this it worked fine. I'm guessing you could accomplish the same thing by putting TextEdit in plain text mode, copying and pasting the contents of the shell script into a new file and saving it with the .sh file extension. After doing so, be sure to do chmod 755 on the new file before executing it."



[ Reply to This | # ]