workan on da changeport
This commit is contained in:
1 parent
05d1ca2d43
commit
51881f8579
2 files changed
+3
-4
No files matched your search
@@ -19,16 +19,15 @@ function subprocess() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sel=$tty+1
|
sel=$tty+1
|
||||||
eval "$1=${devarr[$sel]}"
|
ret="${devarr[$sel]}"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -z "$1" ]; then
|
if [ ! -z "$1" ]; then
|
||||||
ret="$1"
|
ret="$1"
|
||||||
else
|
else
|
||||||
ret=''
|
ret=""
|
||||||
subprocess ret
|
subprocess
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export ESPPORT="$ret"
|
export ESPPORT="$ret"
|
||||||
|
|||||||
Executable → Regular
File mode changed.
Reference in new issue
Block a user