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" ] && {