shakeyourbunny / RWMS

RWMS -- RimWorldModSorter, sort your RimWorld mods
GNU General Public License v2.0
43 stars 8 forks source link

Make shell scripts runnable from any directory #33

Closed lbmaian closed 5 years ago

lbmaian commented 5 years ago

Tested on windows cmd and windows git bash. Untested on mac but should work in theory.

shakeyourbunny commented 5 years ago

If you are modifying python files or shell scripts, please make sure that they have the correct line endings, ie Unix LF only and not Windows CRLF. I had some people on Apple OSX who could not run the scripts, because the first line had a trailing linefeed.

Thanks!

lbmaian commented 5 years ago

My editor doesn't change line endings by default, so they remained nix-style line endings.

shakeyourbunny commented 5 years ago

It's not a big deal, but I made a habit of controlling the line endings every time before committing something on these scripts ;D