Changeset 595 for trunk


Ignore:
Timestamp:
Sep 4, 2002, 4:19:54 PM (22 years ago)
Author:
pstorz
Message:

ausgabeumleitung fuer fehlermeldungen von ls,
returncode 1 bei fehler

File:
1 edited

Legend:

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

    r591 r595  
    11#!/bin/bash
    22# Remote build script (iboernig@suse.de)
    3 # $Id: build.sh,v 1.6 2002/09/04 07:55:54 pstorz Exp $
     3# $Id: build.sh,v 1.7 2002/09/04 14:19:54 pstorz Exp $
    44#
    55# Kurze Featuritis:
     
    4343SPECFILE=$(ls *.spec | awk '{print $1}')
    4444TARFILE=$(ls  *.tar.[gb]z*| awk '{print $1}')
    45 DIFFILES=$(ls *.dif* | awk '{print $1}')
     45DIFFILES=$(ls *.dif* 2>/dev/null | awk '{print $1}')
    4646
    4747# sonstige files die gebraucht werden
    48 RESTFILES=$(ls *.init | awk '{print $1}') # fuer srpm inetd
     48RESTFILES=$(ls *.init 2>/dev/null | awk '{print $1}') # fuer srpm inetd
    4949
    5050PACKAGE=$(awk '/^Name:/ {print $2}' <$SPECFILE)
     
    106106    echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;echo "";sleep 1;
    107107    sleep 10;
     108    exit 1;
    108109fi
    109110
Note: See TracChangeset for help on using the changeset viewer.