Fixes a typo in config_dir check

This commit is contained in:
rahul agarwal 2015-04-26 02:59:54 +05:30
parent 0c4614028e
commit 4e4f7d104d

View file

@ -29,7 +29,7 @@ function usage() {
if [[ "$1" == "--config" ]]; then
shift
conf_dir="$1"
if [[ ! -d "{$conf_dir}" ]]; then
if [[ ! -d "${conf_dir}" ]]; then
echo "ERROR : ${conf_dir} is not a directory"
echo ${USAGE}
exit 1