Changeset 4dafc45


Ignore:
Timestamp:
09/11/2005 09:33:50 PM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
f8de156
Parents:
1236262
Message:

Added a 'jhalfs' directory in the BUILDDIR to keep jhalfs stuff all together

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r1236262 r4dafc45  
    102102HTTP=http://ftp.lfs-matrix.net/pub/lfs/lfs-packages/conglomeration
    103103BUILDDIR=/mnt/lfs
     104JHALFSDIR=$BUILDDIR/jhalfs
    104105LOG=build.log
    105106
     
    108109  test `type -p svn` || eval "echo \"This feature requires Subversion.\"
    109110        exit 1"
    110   cd $BUILDDIR
     111  cd $JHALFSDIR
    111112 
    112113  # Test to make sure the LFS version is set
     
    119120  if [ -d lfs-$LFSVRS ] ; then
    120121        cd lfs-$LFSVRS
    121         if svn up | grep -q At && test -d $BUILDDIR/commands && \
    122         test -f $BUILDDIR/packages && test -f $BUILDDIR/patches ; then
     122        if svn up | grep -q At && test -d $JHALFSDIR/commands && \
     123        test -f $JHALFSDIR/packages && test -f $JHALFSDIR/patches ; then
    123124                echo -ne "done\n"
    124125                get_sources
     
    129130  else
    130131        if [ $LFSVRS = development ] ; then
    131                 svn co $SVN/LFS/trunk/BOOK lfs-$LFSVRS >>$BUILDDIR/$LOG 2>&1
     132                svn co $SVN/LFS/trunk/BOOK lfs-$LFSVRS >>$JHALFSDIR/$LOG 2>&1
    132133        else
    133                 svn co $SVN/LFS/branches/$LFSVRS/BOOK lfs-$LFSVRS >>$BUILDDIR/$LOG 2>&1
     134                svn co $SVN/LFS/branches/$LFSVRS/BOOK lfs-$LFSVRS >>$JHALFSDIR/$LOG 2>&1
    134135        fi
    135136        echo -ne "done\n"
     
    142143  test `type -p xsltproc` || eval "echo \"This feature requires libxslt.\"
    143144        exit 1"
    144   cd $BUILDDIR
     145  cd $JHALFSDIR
    145146
    146147  # Start clean
     
    151152  xsltproc -v --nonet --xinclude -o ./commands/ \
    152153  lfs-$LFSVRS/stylesheets/dump-commands.xsl lfs-$LFSVRS/index.xml \
    153   >>$BUILDDIR/$LOG 2>&1
     154  >>$JHALFSDIR/$LOG 2>&1
    154155
    155156  # Move the text files out from the chapter directories, and dump them
     
    160161
    161162  # Grab the patches and package names.
    162   cd $BUILDDIR
     163  cd $JHALFSDIR
    163164  for i in patches packages ; do rm -f $i ; done
    164165  grep "\-version" lfs-$LFSVRS/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@' \
     
    226227
    227228  # Iterate through each package and grab it, along with any patches it needs.
    228   for i in `cat $BUILDDIR/packages` ; do
     229  for i in `cat $JHALFSDIR/packages` ; do
    229230    PKG=`echo $i | sed 's/-version.*//'`
    230231   
     
    239240    fi
    240241    download $PKG $FILE
    241     for patch in `grep "$PKG-&$PKG" $BUILDDIR/patches` ; do
     242    for patch in `grep "$PKG-&$PKG" $JHALFSDIR/patches` ; do
    242243        PATCH=`echo $patch | sed 's@&'$PKG'-version;@'$VRS'@'`
    243244        download $PKG $PATCH
     
    247248
    248249
    249 if [ ! -d $BUILDDIR ] ; then
    250         mkdir $BUILDDIR
     250if [ ! -d $JHALFSDIR ] ; then
     251        mkdir -p $JHALFSDIR
    251252fi
    252253
    253 >$BUILDDIR/$LOG
    254 cp $0 $BUILDDIR/
     254>$JHALFSDIR/$LOG
     255cp $0 $JHALFSDIR/
    255256get_book
Note: See TracChangeset for help on using the changeset viewer.