Browse Source

Correct typo, bad copy/paste

master
dig 4 years ago
parent
commit
dbc89506d0
  1. 8
      awesome-tasks/odoo

8
awesome-tasks/odoo

@ -63,12 +63,12 @@ __dirtask="$__dirname/.$(basename $0)"
# Calls command (1rt argument) as script or function \$1( \$2 \$3 ... )
if [ -r "$__dirtask/$1" ]
verbose "Command file exists call it: \$__dirtask/\$1 \${*:2}"
\$__dirtask/\$1 \${*:2}
verbose "Command file exists call it: $__dirtask/$1 ${*:2}"
$__dirtask/$1 ${*:2}
else
if [ -n "$(type -t $1)" ] && [ "$(type -t $1)" = function ];
then
verbose "\$__dirtask/\$1 not exists try func: \$1 \${*:2}"
\$1 "\${*:2}"
verbose "$__dirtask/$1 not exists try func: $1 ${*:2}"
$1 "${*:2}"
fi
fi

Loading…
Cancel
Save