Skip to content

Commit 57c6352

Browse files
parse $arg instead of $1
1 parent 3deb890 commit 57c6352

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

udroid/src/udroid.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,11 @@ install() {
163163
esac
164164
done
165165

166+
[[ -z $arg ]] && {
167+
ELOG "\$arg not supplied"
168+
}
166169
# parse the arg for suite and varient and get name,link
167-
parser $1 "online"
170+
parser $arg "online"
168171

169172
# final checks
170173
[[ "$link" == "null" ]] && {
@@ -824,6 +827,8 @@ update() {
824827
_reset() {
825828
# TODO
826829
TITLE "[TODO]"
830+
831+
827832
}
828833
####################
829834
download() {

0 commit comments

Comments
 (0)