I'm trying to read shell script which I haven't worked with before... What does this code do?
# Setup some command defaults (can be overriden by the config)
MYSQL=${MYSQL:-`which mysql`}
MYSQLDUMP=${MYSQLDUMP:-`which mysqldump`}
PHP=${PHP:-`which php`}
I have a feeling it determines the location of php, mysql and mysqldump if the variable is not already defined. Is that correct?