[PATCH lkp-tests] tests/build-pkg: matching url is not printed in function replace_source

15 Apr
2021
15 Apr
'21
10:12 a.m.
Signed-off-by: Lin Jiaxin <ljx.joe@qq.com> --- tests/build-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/build-pkg b/tests/build-pkg index 350d8fdf..b399fdc3 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -122,7 +122,7 @@ replace_source() echo "source=(" > $1 for url in ${source[@]} do - echo "$url" | egrep 'git\+|\.git$' && { + echo "$url" | egrep 'git\+|\.git$' > /dev/null && { [ -n "$repo_dir" ] && { url="${repo_dir}git://${LKP_SERVER}/${upstream_dir}/${upstream_repo}#commit=${upstream_commit}" [ -n "$git_tag" ] && { -- 2.23.0
1413
Age (days ago)
1413
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lin Jiaxin