Skip to content

Commit 81680bf

Browse files
fix code L31-L36
1 parent b7195b5 commit 81680bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/udroid/udroid.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ _login() {
2828
avalible_distros=$(find $D_INSTALLED_ROOTFS -maxdepth 1 -type d | grep udroid)
2929
cd "$OLDPWD" || exit
3030

31-
if [ -n "$UDROID_SUITE" ]; then
31+
if [ -z "$UDROID_SUITE" ]; then
3232
default_suite="impish"
3333
else
34+
default_suite="$UDROID_SUITE"
3435
msg "udroid suite [\$UDROID_SUITE] is set to ${UDROID_SUITE}"
3536
fi
3637

0 commit comments

Comments
 (0)