Changeset 989


Ignore:
Timestamp:
Feb 14, 2017, 6:31:35 PM (8 years ago)
Author:
dmik
Message:

rpmbuild-bot: Addition to r988.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified rpmbuild-bot/rpmbuild-bot.sh

    r988 r989  
    356356  eval local base="\$RPMBUILD_BOT_UPLOAD_${RPMBUILD_BOT_UPLOAD_REPO_STABLE}_DIR"
    357357
    358   local abi_list=
     358  local abi_list="$src_dir/$spec_name-legacy/abi.list"
     359  run rm -f "$abi_list" "$abi_list.tmp"
     360  run mkdir -p "${abi_list%/*}"
    359361
    360362  for rpm_spec in $rpm_list ; do
     
    369371    ver="$ver$dist_mark"
    370372
    371     abi_list="$abi_list${abi_list:+ }$abi"
     373    run echo "$abi" >> "$abi_list.tmp"
    372374
    373375    # Enumerate RPMs for all archs and extract them
     
    414416  done
    415417
    416   run echo "$abi_list" > "$src_dir/$spec_name-legacy/abi.list"
     418  # put the global 'done' mark
     419  run mv "$abi_list.tmp" "$abi_list"
    417420}
    418421
Note: See TracChangeset for help on using the changeset viewer.