zcaudate-me / lein-repack

moved -> 'lucid.distribute'
65 stars 5 forks source link

[fix] Correctly quote file separator strings under Windows #15

Closed smee closed 8 years ago

smee commented 8 years ago

Windows uses backslashes as file separators. Backslashes aren't valid regular expressions, though. By explicitely quoting the string before using it to create a regular expression we ensure that this code works under Windows, too.

zcaudate commented 8 years ago

thanks! I didn't know about that

smee commented 8 years ago

Me neither, took me a while to figure out :)

zcaudate commented 8 years ago

I noticed that you made a change to vinyasa.maven... I'll wait for that to be fixed before pushing a new version to clojars.