-write_shellrc() +submit_env() +{
- echo $@ >> $(shell_profile)
- source $(shell_profile)
+}
Where the submit_env function invoked?
+write_env() { echo "export LKP_SRC=$PWD" >> $(shell_profile) echo "export PATH=$PATH:$LKP_SRC/sbin:$LKP_SRC/bin" >> $(shell_profile)
- source $(shell_profile)
Maybe Here submit_env better?
Thanks, Zhangyu
}
write_host() @@ -28,5 +35,5 @@ write_host() EOF }
-write_shellrc +write_env write_host -- 2.23.0