book
Article ID: KB0086074
calendar_today
Updated On:
Description
Resolution:
When running the example scripts included in the GridServer SDK on a Solaris system, they may fail with the message "source: not found".
The example scripts require the bash shell, and on most Solaris machines, they do not work with the default shell, /bin/sh. However, if bash is available, then the scripts can be run by preceding the filename with bash, such as bash ./build.sh or, alternatively, editing the first line of the script to point to the location bash is installed, such as #!/bin/bash.
If bash is unavailable, the scripts can still be run with a slight modification. In the build.sh and run.sh scripts, change the line reading source env.sh to . ./env.sh and then run the scripts normally.
Issue/Introduction
Example scripts don't work on Solaris