浏览代码

fix copy of multiple rpms

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Jessica Frazelle 9 年之前
父节点
当前提交
f549b1c9ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hack/make/release-rpm

+ 1 - 1
hack/make/release-rpm

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