From ef0c214d3668d38196d77c7509589c086e1e7a04 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Thu, 9 Jul 2026 10:29:45 +0200 Subject: [PATCH] fix finding old externals size/file count --- pr_testing/test_multiple_prs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_testing/test_multiple_prs.sh b/pr_testing/test_multiple_prs.sh index ba764297c81b..bb8afcc0e863 100755 --- a/pr_testing/test_multiple_prs.sh +++ b/pr_testing/test_multiple_prs.sh @@ -776,7 +776,7 @@ if ${BUILD_EXTERNAL} ; then l_tc=$(find ${ltpath} -follow | wc -l) l_ts=$(du -shD ${ltpath} | awk '{print $1}') tdir=$(dirname $pkg) - rtpath=$(grep -R ${tdir} ${BTOOLS} | grep '_BASE\|CMSSW_SEARCH_PATH' | tail -1 | sed 's|.* default="||;s|".*||') + rtpath=$(grep -R ${tdir} ${BTOOLS} | grep '_BASE\|CMSSW_SEARCH_PATH\| path=' | tail -1 | sed -E -e 's#.* (default|path)="##;s#".*##') if [ "${rtpath}" = "" ] || [ ! -d "${rtpath}" ] ; then r_tc=0 r_ts=0