Changeset 701 for trunk


Ignore:
Timestamp:
Jan 3, 2005, 11:16:52 PM (20 years ago)
Author:
joergs
Message:

excluded .svn and ~ backups at tar file generation from SOURCES

File:
1 edited

Legend:

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

    r700 r701  
    180180        if [ -r "SOURCES" ]; then
    181181                # create a tar file from the sources
    182                 tar cvjf ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2 --files-from SOURCES
     182                tar cvjf ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2 --files-from SOURCES --exclude .svn --exclude "*~"
    183183       
    184184        elif [ -r "SPECSOURCES" ]; then
    185                 # SPECSOURCES have to list the files that are referenced in the .spec file
    186                 # these ´files are copied to the build environment
     185                # SPECSOURCES has to list the files
     186                # that are referenced in the .spec file
     187                # these files are copied to the build environment
    187188                cp -av `cat SPECSOURCES` ${BUILDTEMP}/src/${PACKAGE}
    188189       
    189190        else
    190191                # legacy method:
    191                 # call the existing makefile to generate a tar file     
     192                # call the existing Makefile
     193                # to generate a tar file       
    192194                test -e Makefile && make
    193195                TARFILE=$(ls  *.tar.[gb]z*| awk '{print $1}')
Note: See TracChangeset for help on using the changeset viewer.