Skip to content

Commit

Permalink
prepare.sh: keep python311-wheels to build
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Nov 27, 2024
1 parent 10dec2b commit 646df32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ for i in {5..7}; do
for package in ${packages}
do
if [ "$(echo ffmpeg${i} ${ffmpeg_dependent_packages} | grep -ow ${package})" != "" ]; then
packages_without_ffmpeg=$(echo "${packages}" | tr ' ' '\n' | grep -v "ffmpeg${i}" | tr '\n' ' ')
packages_without_ffmpeg=$(echo "${packages}" | tr ' ' '\n' | grep -v "^ffmpeg${i}\$" | tr '\n' ' ')
packages="ffmpeg${i} ${packages_without_ffmpeg}"
break
fi
Expand All @@ -77,7 +77,7 @@ videodrv_dependent_packages=$(find spk/ -maxdepth 2 -mindepth 2 -name "Makefile"
for package in ${packages}
do
if [ "$(echo synocli-videodriver ${videodrv_dependent_packages} | grep -ow ${package})" != "" ]; then
packages_without_videodrv=$(echo "${packages}" | tr ' ' '\n' | grep -v "synocli-videodriver" | tr '\n' ' ')
packages_without_videodrv=$(echo "${packages}" | tr ' ' '\n' | grep -v "^synocli-videodriver\$" | tr '\n' ' ')
packages="synocli-videodriver ${packages_without_videodrv}"
break
fi
Expand All @@ -92,7 +92,7 @@ for py in python310 python311 python312 python313; do
for package in ${packages}
do
if [ "$(echo ${py} ${python_dependent_packages} | grep -ow ${package})" != "" ]; then
packages_without_python=$(echo "${packages}" | tr ' ' '\n' | grep -v "${py}" | tr '\n' ' ')
packages_without_python=$(echo "${packages}" | tr ' ' '\n' | grep -v "^${py}\$" | tr '\n' ' ')
packages="${py} ${packages_without_python}"
break
fi
Expand Down

0 comments on commit 646df32

Please sign in to comment.