taichi-dev / taichi_elements

High-performance multi-material continuum physics engine in Taichi
MIT License
483 stars 69 forks source link

Fix trailing slash removal logic #99

Closed axmmisaka closed 1 year ago

axmmisaka commented 2 years ago

This is probably to check if the last character is / and remove if it is, but a : was added which makes the script unable to run if the environment variable has trailing /; Pretty tiny fix but I guess there's gonna be more elegant way.