Skip to content

Commit 5289ef1

Browse files
src/udroid.sh: fallback to old declaration for suites and varients
1 parent 27f0abb commit 5289ef1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

udroid/src/udroid.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,9 @@ login() {
761761
parser() {
762762
local arg=$1
763763
local mode=$2
764-
declare -g suite=${arg%%:*} # declare -g | declare globally
765-
declare -g varient=${arg#*:}
764+
765+
suite=${arg%%:*}
766+
varient=${arg#*:}
766767

767768
LOG "[USER] function args => suite=$suite varient=$varient"
768769

0 commit comments

Comments
 (0)