raspberrypi / pico-project-generator

Tool to automatically generate a Pico C SDK Project
BSD 3-Clause "New" or "Revised" License
297 stars 75 forks source link

Read files from original path if running via symlink #35

Closed moefh closed 2 years ago

moefh commented 3 years ago

Hello,

This is a small change that allows pico_project.py to work properly even when run via a symlink. This is useful for users that have a ~/bin directory in their $PATH with symlinks to the actual programs.

Please feel free to ignore this PR if you think this use case is too specific to support.