Merge pull request #25676 from tiborvass/fix-rpm-release-script

release-rpm: fix bad destination paths for rpms
This commit is contained in:
Michael Crosby 2016-08-15 16:23:25 -07:00 committed by GitHub
commit c67cc60713

View file

@ -33,8 +33,9 @@ fi
for dir in bundles/$VERSION/build-rpm/*/; do
version="$(basename "$dir")"
suite="${version##*-}"
distro="${version%-*}"
REPO=$YUMDIR/$release/$suite
REPO=$YUMDIR/$release/$distro
# if the directory does not exist, initialize the yum repo
if [[ ! -d $REPO/$suite/Packages ]]; then