X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=id-rpm-build%2Fupload-rpms.sh;fp=id-rpm-build%2Fupload-rpms.sh;h=2585586895a44037386145a5731081342e8169da;hb=f93f2547e33dbf4216e110d2c2cc2fa2cf22bb3c;hp=7ef5b3dff67ebda127c66149cd5dd63acd6fe4f5;hpb=ad25ca528498711ea7a9a597079c6ea008818557;p=git-tools-moved-to-github.git diff --git a/id-rpm-build/upload-rpms.sh b/id-rpm-build/upload-rpms.sh index 7ef5b3d..2585586 100755 --- 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