Missing completely where this is called during the build, and how this could be used from other places, any pointers?
Just, the change as is seems to change behaviour where script has a relative path not starting with ./, e.g. some/path/
Hm, the whole existing code seems strange to me to be honest, perhaps @vandenoever can tell?