Changeset 591 for trunk/technical/common


Ignore:
Timestamp:
Sep 4, 2002, 9:55:54 AM (22 years ago)
Author:
pstorz
Message:

Fehlerpiepen, wenn die erzeugten rpms und srpms nicht zurückkopiert werden können

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/technical/common/build/build.sh

    r590 r591  
    11#!/bin/bash
    22# Remote build script (iboernig@suse.de)
    3 # $Id: build.sh,v 1.5 2002/09/04 06:17:42 pstorz Exp $
     3# $Id: build.sh,v 1.6 2002/09/04 07:55:54 pstorz Exp $
    44#
    55# Kurze Featuritis:
     
    9292
    9393mkdir -p ${DEST_DIR}/src
    94 scp -oProtocol=$SSH_VERSION root@${FQBUILDHOST}:${BUILD_ROOT}/usr/src/packages/SRPMS/${PACKAGE}-${VERSION}-*.src.rpm ${DEST_DIR}/src
     94
     95if !(scp -oProtocol=$SSH_VERSION root@${FQBUILDHOST}:${BUILD_ROOT}/usr/src/packages/SRPMS/${PACKAGE}-${VERSION}-*.src.rpm ${DEST_DIR}/src;)
     96    then
     97    echo "ERROR while building packet $PACKAGE";
     98    echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;
     99    sleep 10;
     100fi
    95101
    96102mkdir -p ${DEST_DIR}/$ARCH/$OS_TYPE/$OS_VER
    97 scp -oProtocol=$SSH_VERSION root@${FQBUILDHOST}:${BUILD_ROOT}/usr/src/packages/RPMS/${BUILDARCH}/${PACKAGE}-${VERSION}-*.${BUILDARCH}.rpm ${DEST_DIR}/$ARCH/$OS_TYPE/$OS_VER
     103if !(scp -oProtocol=$SSH_VERSION root@${FQBUILDHOST}:${BUILD_ROOT}/usr/src/packages/RPMS/${BUILDARCH}/${PACKAGE}-${VERSION}-*.${BUILDARCH}.rpm ${DEST_DIR}/$ARCH/$OS_TYPE/$OS_VER;)
     104    then
     105    echo "ERROR while building packet $PACKAGE";
     106    echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;
     107    sleep 10;
     108fi
    98109
    99110echo "Build of ${PACKAGE} completed!"
Note: See TracChangeset for help on using the changeset viewer.