Ignore:
Timestamp:
Feb 14, 2017, 8:28:20 PM (8 years ago)
Author:
dmik
Message:

rpmbuild-bot: Revert unneeded r989.

File:
1 edited

Legend:

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

    r989 r990  
    356356  eval local base="\$RPMBUILD_BOT_UPLOAD_${RPMBUILD_BOT_UPLOAD_REPO_STABLE}_DIR"
    357357
    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%/*}"
     358  local abi_list=
    361359
    362360  for rpm_spec in $rpm_list ; do
     
    371369    ver="$ver$dist_mark"
    372370
    373     run echo "$abi" >> "$abi_list.tmp"
     371    abi_list="$abi_list${abi_list:+ }$abi"
    374372
    375373    # Enumerate RPMs for all archs and extract them
     
    416414  done
    417415
    418   # put the global 'done' mark
    419   run mv "$abi_list.tmp" "$abi_list"
     416  run echo "$abi_list" > "$src_dir/$spec_name-legacy/abi.list"
    420417}
    421418
Note: See TracChangeset for help on using the changeset viewer.