source a property file in script give error

I have sourced a property file in my script like this to load some variables in the script

Then i am able to echo all the property file values inside script but the script is not able to recognize other unix commands

#!/bin/bash
. build.properties

mkdir build

i am getting error
./test.sh: line 4: mkdir: command not found

please help

Please post your build.properties in [code] tags

It's quite possible build.properties set the PATH variable without including the existing $PATH. So look for that. If you don't find it, then post as pludi suggested.

The PATH variable was the problem Thank you genius otheus