earthbound19 / _ebDev

Various tools, mostly custom-made for art development.
2 stars 2 forks source link

create cross-platform script that finds and returns path of scripts #109

Closed earthbound19 closed 1 year ago

earthbound19 commented 4 years ago

whereis works for MSYS2 but not Mac, and which works for Mac but not MSYS2. Use OS identifier environment variable I found to do this (what is that variable?)

earthbound19 commented 4 years ago

Done via getFullPathToFile.sh, but may need a better way for python (the ~.sh script succeeds in returning info in a python script color_growth_clip_tests.py in Mac, but seems to fail on MSYS2).

earthbound19 commented 1 year ago

That works on MSYS2. ? Since I commented it works on Mac, closing.