Signed-off-by: Liu Shaofei 370072077@qq.com --- tests/cci-makepkg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/cci-makepkg b/tests/cci-makepkg index a50a40c20..d48e8495e 100755 --- a/tests/cci-makepkg +++ b/tests/cci-makepkg @@ -41,6 +41,8 @@ curl_pkgfile()
download_pkgfile() { + [ -n "$PKGBUILD_TAG" ] || return + local pkg_tag_file="PKGBUILD-$PKGBUILD_TAG"
curl_pkgfile "pkg/$benchmark" "$pkg_tag_file" @@ -93,7 +95,7 @@ centos_update_gcc() source /opt/rh/devtoolset-8/enable }
-[ -n "$PKGBUILD_TAG" ] && download_pkgfile +download_pkgfile
distro_install_depends lkp-dev