mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
release-rpm: fix bad destination paths for rpms
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
2c50035f93
commit
e1c7ad871f
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue