[oneimage]: use loop variable to get image dir in /proc/cmdline for aboot image (#534)

This commit is contained in:
lguohan 2017-04-24 13:39:29 -07:00 committed by GitHub
parent ced39ccb4c
commit 34adb715df

View File

@ -117,7 +117,7 @@ for x in "$@"; do
varlog_size=*) varlog_size=*)
varlog_size="${x#varlog_size=}" varlog_size="${x#varlog_size=}"
;; ;;
image_dir=*) loop=*)
x1="${x#loop=}" x1="${x#loop=}"
image_dir="${x1%/*}" image_dir="${x1%/*}"
esac esac