Remove local scope in favor of global variables
Local scoping should be used within functions, as such lets make these variables global. Change-Id: I5499e7ab8baf17bac7c5e11b34cc920e25721040 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
e0ff9a67f0
commit
59d2261efb
@ -110,8 +110,8 @@ function check_nose_html {
|
||||
fi
|
||||
}
|
||||
|
||||
local script_path=/usr/local/jenkins/slave_scripts
|
||||
local bin_path=.tox/$venv/bin
|
||||
script_path=/usr/local/jenkins/slave_scripts
|
||||
bin_path=.tox/$venv/bin
|
||||
|
||||
export PYTHON=$bin_path/python
|
||||
export NOSE_WITH_XUNIT=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user