Re: [PATCH lkp-tests] fix lkp make install error

21 Dec
2020
21 Dec
'20
10:03 a.m.
TO ALL Best practice is to use realpath.
-. $LKP_SRC/lib/env.sh -. $LKP_SRC/sbin/set-env.sh +. lib/env.sh +. sbin/set-env.sh
SCRIPT_DIR=$(dirname $(realpath $0)) PROJECT_DIR=$(dirname $SCRIPT_DIR) $PROJECT_DIR/lib/env.sh $PROJECT_DIR/sbin/set-env.sh Thanks, Fengguang

22 Dec
22 Dec
9:29 a.m.
New subject: [PATCH lkp-tests] fix lkp make install error
On Mon, Dec 21, 2020 at 10:03:27AM +0800, Wu Fengguang wrote:
TO ALL
Best practice is to use realpath.
-. $LKP_SRC/lib/env.sh -. $LKP_SRC/sbin/set-env.sh +. lib/env.sh +. sbin/set-env.sh
SCRIPT_DIR=$(dirname $(realpath $0)) PROJECT_DIR=$(dirname $SCRIPT_DIR)
use command: git rev-parse --show-toplevel will directly get the top level path Thanks, Luan Shengde
$PROJECT_DIR/lib/env.sh $PROJECT_DIR/sbin/set-env.sh
Thanks, Fengguang
1582
Age (days ago)
1583
Last active (days ago)
1 comments
2 participants
participants (2)
-
Luan Shengde
-
Wu Fengguang