I have a script that uses sh
shell. I get an error in the line that uses the source
command. It seems source
is not included in my sh
shell.
If I explicitly try to run source
from shell I get:
sh: 1: source: not found
Should I somehow install "source"? Do I have a wrong version of sh
?
source
is a "wrong version".source: not found
means that thesource
command was evaluated properly, but the file it should have read does not exist.source
because it is a feature of the shell. It cannot be implemented as an external command.