iit-danieli-joint-lab / idjl-gcc-vxworks

Helpers script to compile a version of GCC that crosscompiles to VxWorks.
4 stars 3 forks source link

Update way in which the script path is obtained #10

Closed traversaro closed 4 years ago

traversaro commented 4 years ago

realpath does not work correctly when the script is sourced instead of executed, see https://stackoverflow.com/questions/59895/get-the-source-directory-of-a-bash-script-from-within-the-script-itself