Exporting variable from config file

Hi,

I am exporting the environment variable from config file, but when I echo the variable it does not display any value. Here is the snippet of the code

#!/bin/sh

export ENVIRONMENT_ROOT_DIRECTORY="/cb/$ENVIRONMENT"

echo $ENVIRONMENT_ROOT_DIRECTORY

${JAVA_HOME}/bin/java ${APPLICATION_SYSTEM_PROPERTIES} ${MEM_ARGS} -classpath ${CLASSPATH} \
com.collegeboard.olr.utility.KanaLoad

Do you source the config file?

. config_file
# or on linux 
source config_file

Not sure what do you mean by source the config file?

Thanks,
Bhavna