Skip to content

Commit c6c8706

Browse files
fix: shift 2 values
1 parent 0dd8df5 commit c6c8706

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

udroid/src/udroid.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ install_custom() {
281281
while [[ $# -gt 0 ]]; do
282282
case $1 in
283283
--file)
284-
file=$2; shift ;;
284+
file=$2; shift 2 ;;
285285
--name)
286-
name=$2; shift ;;
286+
name=$2; shift 2 ;;
287287
*)
288288
EDIE "unkown option $1"
289289
;;
@@ -298,7 +298,7 @@ install_custom() {
298298
}
299299

300300
[[ ! -f $file ]] && {
301-
EDIE "file $file not found"
301+
EDIE "file $file not found - try provide full path of file"
302302
}
303303

304304
[[ -d $DEFAULT_FS_INSTALL_DIR/$name ]] && {
@@ -989,7 +989,7 @@ list() {
989989
echo "\`\`\`"
990990
fi
991991

992-
echo ""
992+
echo ""
993993
} >> $tempfile
994994

995995
g_format $tempfile

0 commit comments

Comments
 (0)