githubtraining / training-manual

Home of the words in the GitHub Training Manual and teaching scripts.
https://githubtraining.github.io/training-manual
Creative Commons Attribution 4.0 International
267 stars 267 forks source link

Fix issue with detecting OSTYPE on WSL to prevent issues during sed call #351

Closed rajbos closed 2 years ago

rajbos commented 2 years ago

Fixes first comment in #345. I ran into the same issue with set on WSL. Detecting this operating system and using the normal sed call was enough for me.