I'm trying to setup some environment variables on Unix and I believe I need to use the source command to "source" a file. The .sh file I'm trying to source contains a bunch of export commands likes the below. When I run $ source setenv.sh I get the below output. I've removed all commands except for the ANT_HOME export and I still get the following error, any ideas?
output from $ source setenv.sh:
ANT_HOME=/auto/energywise/apache-ant-1.8.2: Command not found.
export: Command not found.