mirror of https://github.com/docker/docs.git
release-rpm: fix bad destination paths for rpms
Signed-off-by: Tibor Vass <tibor@docker.com> (cherry picked from commit e1c7ad871f6fd41a7682cf7effb02838ab679ae3) Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
dd08342103
commit
460d8d80ca
|
@ -33,8 +33,9 @@ fi
|
||||||
for dir in bundles/$VERSION/build-rpm/*/; do
|
for dir in bundles/$VERSION/build-rpm/*/; do
|
||||||
version="$(basename "$dir")"
|
version="$(basename "$dir")"
|
||||||
suite="${version##*-}"
|
suite="${version##*-}"
|
||||||
|
distro="${version%-*}"
|
||||||
|
|
||||||
REPO=$YUMDIR/$release/$suite
|
REPO=$YUMDIR/$release/$distro
|
||||||
|
|
||||||
# if the directory does not exist, initialize the yum repo
|
# if the directory does not exist, initialize the yum repo
|
||||||
if [[ ! -d $REPO/$suite/Packages ]]; then
|
if [[ ! -d $REPO/$suite/Packages ]]; then
|
||||||
|
|
Loading…
Reference in New Issue