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


Ignore:
Timestamp:
Oct 4, 2006, 3:08:01 PM (18 years ago)
Author:
Bruno Cornec
Message:

Fix bug #79 by removing use of SVNBRANCH and BASE variable in build process
WARNING: the build process doesn't allow anymore to use the script of one version for building another version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/svn2build

    r829 r872  
    3333
    3434# Make it safe for SVN commands
    35 cd ${BASE}/svn
     35cd ${TOOLHOME}/..
    3636
    3737for p in $c; do
    38     v=`cat ${SVNBRANCH}/$p/VERSION`
     38    v=`cat ${TOOLHOME}/../$p/VERSION`
    3939    echo "Management of $p $v-$TAG (rev $REVISION)"
    4040    dest="$p-$v"
    4141    rm -fr $dest
    42     svn export ${SVNBRANCH}/$p $dest
     42    svn export ${TOOLHOME}/../$p $dest
    4343    echo "$REVISION" > $dest/REVISION
    4444    echo "Generating SVN log file ..."
    45     svn log -v ${SVNBRANCH}/$p > $dest/svn.log
     45    svn log -v ${TOOLHOME}/../$p > $dest/svn.log
    4646
    4747    for d in `cat ${TOOLHOME}/DISTROS`; do
     
    117117
    118118    if [ _"`echo $p | grep -vE 'kernel|busybox' | grep mindi`" != _"" ]; then
    119         v1=`cat ${SVNBRANCH}/mondo-doc/VERSION`
     119        v1=`cat ${TOOLHOME}/../mondo-doc/VERSION`
    120120        if [ ! -d mondo-doc-$v1 ]; then
    121121            echo "mondo-doc should be created before $p"
     
    126126    fi
    127127    if [ "`echo $p | grep -v doc | grep  mondo`" != "" ]; then
    128         v1=`cat ${SVNBRANCH}/mondo-doc/VERSION`
     128        v1=`cat ${TOOLHOME}/../mondo-doc/VERSION`
    129129        if [ ! -d mondo-doc-$v1 ]; then
    130130            echo "mondo-doc should be created before $p"
Note: See TracChangeset for help on using the changeset viewer.