diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2017-03-13 21:55:00 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2017-03-13 21:55:00 +0300 |
commit | 352ea8c21c428a5c8aa78d9cae967e00bb3dabae (patch) | |
tree | 7fd5082d5aa8f06e42c30fc46b73fbcd6164927d /include/tests_ports_packages | |
parent | b67d9233ebf83f5d04e43060da1cec040e10ff4f (diff) |
Added missing pipe
Diffstat (limited to 'include/tests_ports_packages')
-rw-r--r-- | include/tests_ports_packages | 2 |
1 files changed, 1 insertions, 1 deletions
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}') |