File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,26 @@ _login() {
2323
2424 varient=$1 ; shift
2525 extra_args=$*
26+ default_suite=" impish"
2627
2728 cd " $D_INSTALLED_ROOTFS " || die " $D_INSTALLED_ROOTFS Not Found.."
2829 avalible_distros=$( find $D_INSTALLED_ROOTFS -maxdepth 1 -type d | grep udroid)
2930 cd " $OLDPWD " || exit
3031
3132 if [ -z " $UDROID_SUITE " ]; then
32- default_suite =" impish"
33+ suite =" impish"
3334 else
34- default_suite =" $UDROID_SUITE "
35+ suite =" $UDROID_SUITE "
3536 msg " udroid suite [\$ UDROID_SUITE] is set to ${UDROID_SUITE} "
3637 fi
3738
38- distro=" ${default_suite} - ${ varient} "
39+ distro=" $suite - $ varient"
3940 if [[ $avalible_distros =~ $distro ]]; then
4041 # store distro aliases in cache
4142 echo " $distro " > " $LOGIN_CACHE_FILE "
4243
4344 # start distro
44- start " ${default_suite} - ${varient} " $extra_args
45+ start " $distro " $extra_args
4546 else
4647 # TODO: ADD SUGGESTIONS
4748 lwarn " $distro not found..."
You can’t perform that action at this time.
0 commit comments