diff --git a/hack/make/release-rpm b/hack/make/release-rpm index 7f9ee9feb9..5c109d0745 100755 --- a/hack/make/release-rpm +++ b/hack/make/release-rpm @@ -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