All of the master Linux builds scripts use the following idiom,
$(cd path && ./build_gcc_arm.sh nopause)
The $() are not needed. This is like $(echo ls). Ie, the output of the commands (stdout) will be run as a command. The lines should only be,
cd path && ./build_gcc_arm.sh nopause