[PATCH lkp-tests] Automatic compilation and configure the variables

[why] Source shell_file based on different shells. Signed-off-by: Hu XueJiao <1034502035@qq.com> --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 00000000..fb3f2e18 --- /dev/null +++ b/install.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +. lib/env.sh + +make +source $(shell_profile) -- 2.23.0

On Tue, Dec 08, 2020 at 03:18:01PM +0800, Hu Xuejiao wrote:
[why] Source shell_file based on different shells.
^--------- shell_profile According to your code, source shell_profile?
Signed-off-by: Hu XueJiao <1034502035@qq.com> --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 install.sh
diff --git a/install.sh b/install.sh new file mode 100644 index 00000000..fb3f2e18 --- /dev/null +++ b/install.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +. lib/env.sh
lib/env.sh => $LKP_SRC/lib/env.sh ? Thanks, Liushaofei
+make +source $(shell_profile) -- 2.23.0
participants (2)
-
Hu Xuejiao
-
Liu Shaofei