projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad25ca5
)
Fix check for whether RPM was uploaded correctly
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 13 Jun 2014 09:52:31 +0000
(11:52 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 13 Jun 2014 09:52:31 +0000
(11:52 +0200)
The message "FAILED: No RPM copied.." could occur where it shouldn't.
id-rpm-build/upload-rpms.sh
patch
|
blob
|
history
diff --git
a/id-rpm-build/upload-rpms.sh
b/id-rpm-build/upload-rpms.sh
index
7ef5b3d
..
2585586
100755
(executable)
--- a/
id-rpm-build/upload-rpms.sh
+++ b/
id-rpm-build/upload-rpms.sh
@@
-42,13
+42,14
@@
if test ! -d ${BUILD_DIR}/RPMS; then
fi
for pkg in ${pkg_names}; do
+ copy=false
if $inc_src; then
if test -f ${BUILD_DIR}/SRPMS/${pkg}.src.rpm; then
scp ${BUILD_DIR}/SRPMS/${pkg}.src.rpm ${UPLOAD_URI}/redhat/${DISTRO}/SRPMS/
+ copy=true
fi
fi
if $inc_bin; then
- copy=false
for dir in ${BUILD_DIR}/RPMS/*; do
arch=`basename ${dir}`
if test -f ${dir}/${pkg}.${arch}.rpm; then