write_shell_profile function will source profile, no need source twice
Signed-off-by: Wang Yong wangyong0117@qq.com --- sbin/install-dependencies.sh | 1 - 1 file changed, 1 deletion(-)
diff --git a/sbin/install-dependencies.sh b/sbin/install-dependencies.sh index ed8aeb927..b687dc0d6 100755 --- a/sbin/install-dependencies.sh +++ b/sbin/install-dependencies.sh @@ -65,7 +65,6 @@ set_env() write_host write_shell_profile "export LKP_SRC=$PWD" write_shell_profile "export PATH=$PATH:$LKP_SRC/sbin:$LKP_SRC/bin" - source $(shell_profile) }
set_env