workan on da changeport
This commit is contained in:
@@ -19,14 +19,14 @@ function subprocess() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sel=$tty+1
|
sel=$tty+1
|
||||||
ret="${devarr[$sel]}" # set dat ret global var here
|
eval "$1=${devarr[$sel]}" # set dat ret global var here
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -z "$1" ]; then
|
if [ ! -z "$1" ]; then
|
||||||
ret="$1"
|
ret="$1"
|
||||||
else
|
else
|
||||||
ret="" # make this a global so it can be updootewd from inside function
|
ret="" # make this a global so it can be updootewd from inside function
|
||||||
subprocess
|
subprocess ret
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export ESPPORT="$ret"
|
export ESPPORT="$ret"
|
||||||
|
|||||||
Reference in New Issue
Block a user