Update define.sh

changed call to getdef.sh to better support bash.