Init RUNNER_SCRIPT var in simplenode.runner

RUNNER_SCRIPT variable is not initialized in simplenode.runner and it's
referenced when calling sudo.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/e1d218f9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/e1d218f9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/e1d218f9

Branch: refs/heads/import
Commit: e1d218f99a4461964a36fc33b3c2d4b35740dc47
Parents: ed88055
Author: Manuel Durán Aguete <[email protected]>
Authored: Mon Nov 18 13:17:35 2013 +0100
Committer: Manuel Durán Aguete <[email protected]>
Committed: Mon Nov 18 13:17:35 2013 +0100

----------------------------------------------------------------------
 priv/templates/simplenode.runner | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/e1d218f9/priv/templates/simplenode.runner
----------------------------------------------------------------------
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index c2ef258..2786e72 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -16,6 +16,7 @@ fi
 unset POSIX_SHELL
 
 RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd -P)
+RUNNER_SCRIPT=${0##*/}
 
 CALLER_DIR=$PWD
 

Reply via email to