hraban / tomono

Multi- To Mono-repository merge
https://tomono.0brg.net
GNU Affero General Public License v3.0
842 stars 138 forks source link

error: invalid path on Windows (carriage-return issue) #44

Closed asinning closed 2 years ago

asinning commented 2 years ago

To run this on Windows I needed to use: cat config.txt | tr -d '\r' | ./tomono Without the middle section, read-tree failed with error: invalid path '{repopath} ?/.{first-file-in-repo}'. This is because the \r before \n gets included in $repopath.

hraban commented 2 years ago

Iiiiinteresting.

I'm surprised that is all it took to make the script work on windows 😂 I consider this a win.