Changeset 1043 in MondoRescue for trunk/tools/svn2build


Ignore:
Timestamp:
Jan 8, 2007, 11:31:22 PM (14 years ago)
Author:
Bruno Cornec
Message:

merge -r978:1042 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/svn2build

    r977 r1043  
    99dname=`dirname $0`
    1010prem=`echo $dname |cut -c1`
    11 if [ ${prem} == "/" ]; then
     11if [ _${prem} = _"/" ]; then
    1212        export TOOLHOME=$dname
    1313else
     
    9292        elif [ "$dtype" = "ebuild" ]; then
    9393            m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v.ebuild
     94        elif [ "$dtype" = "tgz" ]; then
     95            m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/slack-desc > $dest/distributions/${ddir}-$dver/slack-desc
     96        elif [ "$dtype" = "port" ]; then
     97            m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/Makefile > $dest/distributions/${ddir}-$dver/Makefile
    9498        elif [ "$dtype" = "deb" ]; then
    9599            cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver
     
    121125            exit -1
    122126        fi
     127        cd ..
     128    fi
     129    if [ _"`echo $p | grep 'busybox'`" != _"" ]; then
     130        cd $dest
     131        mv Rules.mak Rules.mak.orig
     132        cat Rules.mak.orig | sed "s/^EXTRAVERSION\([\t ]*\):=/EXTRAVERSION\1:=-$tag-r$REVISION/" > Rules.mak
    123133        cd ..
    124134    fi
Note: See TracChangeset for help on using the changeset viewer.