Skip to content

Commit

Permalink
Spider_package_list variable does not exist for RPM upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru committed Oct 21, 2024
1 parent 6ecfc4e commit 1e9f9ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/bash_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -658,12 +658,15 @@ collect_dependencies() {
pkgtype=$2
bb_log_info "Collecting dependencies for the ${old_or_new} server"
set +x
# Spider_package_list variable does not exist for RPM upgrades.
set +u
for p in ${package_list} ${spider_package_list} ; do
if [[ "$p" =~ columnstore ]] ; then
suffix="columnstore"
else
suffix="main"
fi
set -u

echo "-----------------" >> "./reqs-${suffix}.${old_or_new}"
echo "$p:" >> "./reqs-${suffix}.${old_or_new}"
Expand Down

0 comments on commit 1e9f9ef

Please sign in to comment.