+# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+suffix=$(date +%m%d-%H%M) +cmd=(
- docker run
- --rm
--name=submit-$USER-$suffix
^^ indents
OK, I will replace the tab keys to spaces.
Thanks, Luan Shengde
Thanks, Shenwei
-it
-v /etc/compass-ci:/etc/compass-ci:ro
-v $HOME/.config:/root/.config:ro
-v $HOME/.ssh:/root/.ssh:rw
- submit
- /root/lkp-tests/sbin/submit "$@"
+)
+"${cmd[@]}"
-- 2.23.0