If you call SOURCEME.sh in a cpl-library folder it uses the "pwd" as this will alway be the one. If you then call again in a new folder, it doesn't update (use case would be in /home and then you need version in /work).
Solution will be to overwrite existing path to pwd if called again from a new file.
If you call SOURCEME.sh in a cpl-library folder it uses the "pwd" as this will alway be the one. If you then call again in a new folder, it doesn't update (use case would be in /home and then you need version in /work).
Solution will be to overwrite existing path to pwd if called again from a new file.