I'm trying to port a project over to a new system, but the makefile has stopped working. Its important to note that the two computing systems have shared data storage.
In order to juggle the build process, I use several shell
calls inside the make file. On the new system, this causes the error
make: /usr/bin/sh: Command not found
On the new system, the shell executables are located in /bin/
and on the old system the are located in /usr/bin
. I haven't explicitly told make to look in /usr/bin/
, and I dont know how to tell it otherwise. The only other discussion related to this topic that I could find is about detecting which shell is present, not helping GNU make find the right shell.
How to detect shell used in GNU make?
Any ideas about how to solve this problem?