Changeset 1051 in MondoRescue for branches/stable/tools/svn2build


Ignore:
Timestamp:
Jan 11, 2007, 1:06:52 AM (17 years ago)
Author:
Bruno Cornec
Message:

Partial re-introduction of trunk changes for the next stable version (tools, contrib)
Preparation ofr addition of localisation patch to mondo
Should not compile in that state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/svn2build

    r1042 r1051  
    2222TAG=`cat ${TOOLHOME}/../mondo/TAG`
    2323DEST=${TOPDIR}/${VER}-$TAG
     24TEST="false"
     25OPT=""
    2426mkdir -p $DEST
    2527
     28if [ "$1" = "--test" ]; then
     29    TEST="true"
     30    OPT="-r BASE"
     31    shift
     32fi 
     33
    2634if [ "$1" = "" ]; then
    27         c="mondo-doc mindi mindi-busybox mondo"
     35    c="mondo-doc mindi mindi-busybox mondo"
    2836else
    2937    if [ "$1" = "all" ]; then
     
    4351    dest="$DEST/$p-$v"
    4452    rm -fr $dest
    45     svn export ${TOOLHOME}/../$p $dest
     53    svn $OPT export ${TOOLHOME}/../$p $dest
    4654    echo "$REVISION" > $dest/REVISION
    4755    echo "Generating SVN log file ..."
    48     svn log -v ${TOOLHOME}/../$p > $dest/svn.log
     56    svn $OPT log -v ${TOOLHOME}/../$p > $dest/svn.log
    4957
    5058    for d in `cat ${TOOLHOME}/DISTROS`; do
     
    148156    echo -n "Creating $p tar files (gzip... "
    149157    tar cfphz ${DEST}/$p-$v.tar.gz $p-$v
    150     echo -n " bzip2..."
    151     tar cfphj ${DEST}/$p-$v.tar.bz2 $p-$v
     158    if [ $TEST = "false" ]; then
     159        echo -n " bzip2..."
     160        tar cfphj ${DEST}/$p-$v.tar.bz2 $p-$v
     161    fi
    152162    echo " )"
     163    if [ $TEST = "true" ]; then
     164        echo "Use source under $DEST/$p-$v"
     165    fi
    153166done
    154167
Note: See TracChangeset for help on using the changeset viewer.