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:
7d8c5ed
)
Fix check for SRPMS
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 22 May 2014 09:47:42 +0000
(11:47 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 22 May 2014 09:47:42 +0000
(11:47 +0200)
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
0562b70
..
7ef5b3d
100755
(executable)
--- a/
id-rpm-build/upload-rpms.sh
+++ b/
id-rpm-build/upload-rpms.sh
@@
-43,11
+43,9
@@
fi
for pkg in ${pkg_names}; do
if $inc_src; then
- if test ! -f ${BUILD_DIR}/SRPMS/${pkg}.src.rpm; then
- echo "FAILED: No SRPM for ${pkg}"
- exit 1
+ if test -f ${BUILD_DIR}/SRPMS/${pkg}.src.rpm; then
+ scp ${BUILD_DIR}/SRPMS/${pkg}.src.rpm ${UPLOAD_URI}/redhat/${DISTRO}/SRPMS/
fi
- scp ${BUILD_DIR}/SRPMS/${pkg}.src.rpm ${UPLOAD_URI}/redhat/${DISTRO}/SRPMS/
fi
if $inc_bin; then
copy=false