unset old result
This commit is contained in:
parent
e780202efc
commit
0384404c6e
@ -6,7 +6,7 @@ function g_python {
|
|||||||
local g_python_error=${g_python_tmp}/python-error
|
local g_python_error=${g_python_tmp}/python-error
|
||||||
local g_python_jobs
|
local g_python_jobs
|
||||||
mapfile -t g_python_jobs < <(jobs -r)
|
mapfile -t g_python_jobs < <(jobs -r)
|
||||||
|
unset g_python_result
|
||||||
|
|
||||||
# Use python in backround for multiple python commands running much faster
|
# Use python in backround for multiple python commands running much faster
|
||||||
#if [ -z "${g_python_running}" ]
|
#if [ -z "${g_python_running}" ]
|
||||||
@ -39,7 +39,6 @@ function g_python {
|
|||||||
# Check for output
|
# Check for output
|
||||||
if [ -s ${g_python_out} ]
|
if [ -s ${g_python_out} ]
|
||||||
then
|
then
|
||||||
unset g_python_result
|
|
||||||
mapfile -t g_python_result <${g_python_out}
|
mapfile -t g_python_result <${g_python_out}
|
||||||
if [[ ${g_python_result[-1]} == DONE ]]
|
if [[ ${g_python_result[-1]} == DONE ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user