Skip to content
Snippets Groups Projects
Commit 0f76ca90 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Revert "fix: allow SPACK_CHERRYPICKS to work with space separate cherrypicks"

parent 9c0dfb17
Branches
Tags
1 merge request!908Revert "fix: allow SPACK_CHERRYPICKS to work with space separate cherrypicks"
Pipeline #92660 passed with warnings
Pipeline: detector_benchmarks

#92688

    Pipeline: detector_benchmarks

    #92687

      ...@@ -43,7 +43,7 @@ git config --global advice.detachedHead false ...@@ -43,7 +43,7 @@ git config --global advice.detachedHead false
      git clone --filter=tree:0 https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} git clone --filter=tree:0 https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT}
      git -C ${SPACK_ROOT} checkout ${SPACK_VERSION} git -C ${SPACK_ROOT} checkout ${SPACK_VERSION}
      if [ -n "${SPACK_CHERRYPICKS}" ] ; then if [ -n "${SPACK_CHERRYPICKS}" ] ; then
      SPACK_CHERRYPICKS=$(git -C ${SPACK_ROOT} rev-list --topo-order ${SPACK_CHERRYPICKS} | grep -m $(echo ${SPACK_CHERRYPICKS} | wc -w) -e ${SPACK_CHERRYPICKS// / -e } | tac) SPACK_CHERRYPICKS=$(git -C ${SPACK_ROOT} rev-list --topo-order ${SPACK_CHERRYPICKS} | grep -m $(echo ${SPACK_CHERRYPICKS} | wc -w) "${SPACK_CHERRYPICKS}" | tac)
      eval "declare -A SPACK_CHERRYPICKS_FILES_ARRAY=(${SPACK_CHERRYPICKS_FILES})" eval "declare -A SPACK_CHERRYPICKS_FILES_ARRAY=(${SPACK_CHERRYPICKS_FILES})"
      for hash in ${SPACK_CHERRYPICKS} ; do for hash in ${SPACK_CHERRYPICKS} ; do
      if [ -n "${SPACK_CHERRYPICKS_FILES_ARRAY[${hash}]+found}" ] ; then if [ -n "${SPACK_CHERRYPICKS_FILES_ARRAY[${hash}]+found}" ] ; then
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Please register or to comment