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

release-rpm: fix bad destination paths for rpms
Upstream-commit: c67cc60713245f101240279a1ff539f96d8942ca
Component: engine
This commit is contained in:
Michael Crosby
2016-08-15 16:23:25 -07:00
committed by GitHub
+2 -1
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