I'm trying to compile a library and his dependencies (lots of dependencies), but the system that I'm using didn't have the usual directory structure. I'm searching for a method to "redirect" all the scripts callings to, for example, /bin/sh
to /foo/bar/sh
.
Is something like this possible?
EDIT:
I forgot to tell that / is read-only, so i can't make a /bin directory containing symbolic links pointing to the actual bin directory