From 352ea8c21c428a5c8aa78d9cae967e00bb3dabae Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 13 Mar 2017 19:55:00 +0100 Subject: [PATCH] Added missing pipe --- include/tests_ports_packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_ports_packages b/include/tests_ports_packages index 4d1b4ccf..8c71b56b 100644 --- a/include/tests_ports_packages +++ b/include/tests_ports_packages @@ -871,7 +871,7 @@ if [ ${SKIPTEST} -eq 0 ]; then if [ ! -z "${PYTHONBINARY}" ]; then LogText "Test: checking enabled repositories" - REPOS=$(${PYTHONBINARY} -c 'import yum ; yb = yum.YumBase() ; print [(r.id + "=" + str(r.gpgcheck)) for r in yb.repos.listEnabled()]' | ${GREPBINARY} "^\[" | ${TRBINARY} -d '[] ' ${TRBINARY} -d "'" | ${SEDBINARY} 's/,/ /g') + REPOS=$(${PYTHONBINARY} -c 'import yum ; yb = yum.YumBase() ; print [(r.id + "=" + str(r.gpgcheck)) for r in yb.repos.listEnabled()]' | ${GREPBINARY} "^\[" | ${TRBINARY} -d '[] ' | ${TRBINARY} -d "'" | ${SEDBINARY} 's/,/ /g') if [ -z "${REPOS}" ]; then LogText "Result: found no repositories"; fi for I in ${REPOS}; do REPO=$(echo ${I} | ${AWKBINARY} -F= '{print $1}')