Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -33,8 +33,9 @@ fi |
| 33 | 33 |
for dir in bundles/$VERSION/build-rpm/*/; do |
| 34 | 34 |
version="$(basename "$dir")" |
| 35 | 35 |
suite="${version##*-}"
|
| 36 |
+ distro="${version%-*}"
|
|
| 36 | 37 |
|
| 37 |
- REPO=$YUMDIR/$release/$suite |
|
| 38 |
+ REPO=$YUMDIR/$release/$distro |
|
| 38 | 39 |
|
| 39 | 40 |
# if the directory does not exist, initialize the yum repo |
| 40 | 41 |
if [[ ! -d $REPO/$suite/Packages ]]; then |