fix copy of multiple rpms

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2015-10-19 15:14:44 -07:00
parent bece5b82a8
commit f549b1c9ea
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3

View file

@ -67,7 +67,7 @@ for distro in "${distros[@]}"; do
fi
# copy the rpms to the packages folder
cp "$RPMFILE" "$REPO/$suite/Packages"
cp "${RPMFILE[@]}" "$REPO/$suite/Packages"
# update the repo
createrepo --pretty --update "$REPO/$suite"