oli-obk / rust-pandoc

Apache License 2.0
51 stars 29 forks source link

Check PATH delimiter #21

Closed RealOrangeOne closed 7 years ago

RealOrangeOne commented 7 years ago

Whilst windows uses ; to split paths in PATH, most other platforms dont, ie Linux. So the added paths arent picked up correctly.

Now check at compile time the platform, and delimit by ; or : depending on target platform.

Tested change on Arch Linux, now working correctly.

oli-obk commented 7 years ago

Thanks! I'll publish immediately