1
0
mirror of https://github.com/rancher/os.git synced 2025-08-01 23:17:50 +00:00

fix lay-down-os error

option `-k` does not need an argument and `-a` need one.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
This commit is contained in:
Wang Long 2016-04-07 11:09:09 +08:00
parent d6676857b0
commit 69cb33b26c

View File

@ -6,7 +6,7 @@ SCRIPTS_DIR=$(dirname ${0})
. "${SCRIPTS_DIR}/build.conf"
VERSION=${VERSION:?"VERSION not set"}
while getopts "i:f:c:d:t:r:o:p:k:a" OPTION
while getopts "i:f:c:d:t:r:o:p:ka:" OPTION
do
case ${OPTION} in
i) DIST="$OPTARG" ;;