Changeset 690


Ignore:
Timestamp:
Nov 11, 2004, 4:19:13 PM (20 years ago)
Author:
pstorz
Message:

added SPECSOURCES support,

File:
1 edited

Legend:

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

    r684 r690  
    1 #!/bin/bash
     1#!/bin/bash 
    22# Remote build script (iboernig@suse.de)
    33# $Id$
     
    141141                # create a tar file from the sources
    142142                tar cvjf ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2 --files-from SOURCES
     143       
     144        elif [ -r "SPECSOURCES" ]; then
     145                cp -av `cat SPECSOURCES` ${BUILDTEMP}/src/${PACKAGE}
     146       
    143147        else
    144148                # legacy method:
     
    146150                test -e Makefile && make
    147151                TARFILE=$(ls  *.tar.[gb]z*| awk '{print $1}')
    148                 cp -a $TARFILE ${BUILDTEMP}/src/${PACKAGE}
     152                cp -av $TARFILE ${BUILDTEMP}/src/${PACKAGE}
     153       
     154
     155               
    149156        fi
     157
    150158fi
    151159
Note: See TracChangeset for help on using the changeset viewer.