On Tue, Sep 29, 2020 at 10:19:48AM +0800, Hu Xuejiao wrote:
Signed-off-by: Hu XueJiao huxuejiao1@huawei.com
sparrow/3-code/dev-env | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/sparrow/3-code/dev-env b/sparrow/3-code/dev-env index ae267bd..80ee2cf 100755 --- a/sparrow/3-code/dev-env +++ b/sparrow/3-code/dev-env @@ -32,3 +32,6 @@ export REPO_SRC=/c/upstream-repos export PATH="$PATH:$CCI_SRC/sbin:$LKP_SRC/sbin:$LKP_SRC/bin" EOF
+source /etc/os-release
+. $(dirname ${BASH_SOURCE[0]})/os/${ID}
Maybe you can combine these two patch, the logic will be more clearer.
-------- Thanks Yu Chuan
-- 2.23.0