Commit f9c10d50 by Eric Coissac

Adds the local specifier to the COMMAND variable

parent 224b40ff
Pipeline #17 skipped
......@@ -50,9 +50,9 @@ function popvalue() {
shift
if [[ ! -z "${1}" ]]; then
COMMAND="${1}="
local COMMAND="${1}="
else
COMMAND="echo "
local COMMAND="echo "
fi
local s=$(stacksize ${STACK})
......
......@@ -78,9 +78,9 @@ function tempdirectory() {
local minsize="0"
if [[ ! -z "${1}" ]]; then
COMMAND="${1}="
local COMMAND="${1}="
else
COMMAND="echo "
local COMMAND="echo "
fi
shift
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment