Changeset 4b7dde9


Ignore:
Timestamp:
11/16/2005 09:29:32 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
0.2
Children:
fc15999
Parents:
7178cdc
Message:

Merged r2184 from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r7178cdc r4b7dde9  
    119119      test -f $JHALFSDIR/packages && test -f $JHALFSDIR/patches ; then
    120120        echo -ne "done\n"
     121        # Set the canonical book version
     122        cd $JHALFSDIR
     123        VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
    121124        get_sources
    122125      else
    123126        echo -ne "done\n"
     127        # Set the canonical book version
     128        cd $JHALFSDIR
     129        VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
    124130        extract_commands
    125131      fi
     
    131137      fi
    132138      echo -ne "done\n"
     139      # Set the canonical book version
     140      cd $JHALFSDIR
     141      VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
    133142      extract_commands
    134143    fi
    135144  else
    136145    echo -ne "Using $BOOK as book's sources ...\n"
     146    # Set the canonical book version
     147    cd $JHALFSDIR
     148    VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
    137149    extract_commands
    138150  fi
    139   # Set the canonical book version
    140   cd $JHALFSDIR
    141   VERSION=`grep "ENTITY version " $BOOK/general.ent | sed -e 's@<!ENTITY version "@@' -e 's@">@@'`
    142151}
    143152
     
    230239    exit 1
    231240  fi
     241  if [ $2 != MD5SUMS ] ; then
     242    echo `grep "$MD5" MD5SUMS` >> MD5SUMS-$VERSION
     243  fi
    232244}
    233245
     
    248260    cd $BUILDDIR/sources
    249261    if [ -f MD5SUMS ] ; then rm MD5SUMS ; fi
     262    if [ -f MD5SUMS-$VERSION ] ; then rm MD5SUMS-$VERSION ; fi
    250263
    251264    download "" MD5SUMS
Note: See TracChangeset for help on using the changeset viewer.