Init RUNNER_SCRIPT var in simplenode.runner

RUNNER_SCRIPT variable is not initialized in simplenode.runner and it's
referenced when calling sudo.
This commit is contained in:
Manuel Durán Aguete 2013-11-18 13:17:35 +01:00
parent ed88055a75
commit e1d218f99a

View file

@ -16,6 +16,7 @@ fi
unset POSIX_SHELL unset POSIX_SHELL
RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd -P) RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd -P)
RUNNER_SCRIPT=${0##*/}
CALLER_DIR=$PWD CALLER_DIR=$PWD