Signed-off-by: Liu Shaofei 370072077@qq.com --- tests/build-pkg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/build-pkg b/tests/build-pkg index fd2697e25..9cb51ff6f 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -17,7 +17,6 @@ ## check dependencies, configure build-time settings, compile the sources, install into a temporary root, ## make customizations, generate meta-info, and package everything together. ## See: https://wiki.archlinux.org/index.php/Makepkg - . $LKP_SRC/lib/debug.sh . $LKP_SRC/distro/common
@@ -97,7 +96,7 @@ replace_source() echo "$url" | egrep 'git+|.git$' && { [ -n "$repo_dir" ] && { url="${repo_dir}git://${LKP_SERVER}/${upstream_repo}#commit=${upstream_commit}" - [ -n ${git_tag} ] && { + [ -n "$git_tag" ] && { url="${repo_dir}git://${LKP_SERVER}/${upstream_repo}#tag=${git_tag}" } }
On Fri, Dec 18, 2020 at 12:06:50AM +0800, Liu Shaofei wrote:
Signed-off-by: Liu Shaofei 370072077@qq.com
tests/build-pkg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/build-pkg b/tests/build-pkg index fd2697e25..9cb51ff6f 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -17,7 +17,6 @@ ## check dependencies, configure build-time settings, compile the sources, install into a temporary root, ## make customizations, generate meta-info, and package everything together. ## See: https://wiki.archlinux.org/index.php/Makepkg
please ignore the email. Thanks, Liushaofei
. $LKP_SRC/lib/debug.sh . $LKP_SRC/distro/common
@@ -97,7 +96,7 @@ replace_source() echo "$url" | egrep 'git+|.git$' && { [ -n "$repo_dir" ] && { url="${repo_dir}git://${LKP_SERVER}/${upstream_repo}#commit=${upstream_commit}"
[ -n ${git_tag} ] && {
[ -n "$git_tag" ] && { url="${repo_dir}git://${LKP_SERVER}/${upstream_repo}#tag=${git_tag}" } }
-- 2.23.0