
12 Nov
2020
12 Nov
'20
8:24 p.m.
source /etc/os-release
--
cd / ./$CCI_SRC/sparrow/3-code/dev-env
i use set -x to debug as follow: path=$(dirname ${BASH_SOURCE[0]})/os/${ID} [ -x "$path" ] && . "$path" => ++ dirname 3-code/dev-env + path=3-code/os/openEuler + '[' -x 3-code/os/openEuler ']'
if use relative path,will error
have no error. Thanks, Yinsi
. "$path" no such file
Thanks, Shenwei
2.23.0