Changeset 4dafc45
- Timestamp:
- 09/11/2005 09:33:50 PM (19 years ago)
- Branches:
- 0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- f8de156
- Parents:
- 1236262
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r1236262 r4dafc45 102 102 HTTP=http://ftp.lfs-matrix.net/pub/lfs/lfs-packages/conglomeration 103 103 BUILDDIR=/mnt/lfs 104 JHALFSDIR=$BUILDDIR/jhalfs 104 105 LOG=build.log 105 106 … … 108 109 test `type -p svn` || eval "echo \"This feature requires Subversion.\" 109 110 exit 1" 110 cd $ BUILDDIR111 cd $JHALFSDIR 111 112 112 113 # Test to make sure the LFS version is set … … 119 120 if [ -d lfs-$LFSVRS ] ; then 120 121 cd lfs-$LFSVRS 121 if svn up | grep -q At && test -d $ BUILDDIR/commands && \122 test -f $ BUILDDIR/packages && test -f $BUILDDIR/patches ; then122 if svn up | grep -q At && test -d $JHALFSDIR/commands && \ 123 test -f $JHALFSDIR/packages && test -f $JHALFSDIR/patches ; then 123 124 echo -ne "done\n" 124 125 get_sources … … 129 130 else 130 131 if [ $LFSVRS = development ] ; then 131 svn co $SVN/LFS/trunk/BOOK lfs-$LFSVRS >>$ BUILDDIR/$LOG 2>&1132 svn co $SVN/LFS/trunk/BOOK lfs-$LFSVRS >>$JHALFSDIR/$LOG 2>&1 132 133 else 133 svn co $SVN/LFS/branches/$LFSVRS/BOOK lfs-$LFSVRS >>$ BUILDDIR/$LOG 2>&1134 svn co $SVN/LFS/branches/$LFSVRS/BOOK lfs-$LFSVRS >>$JHALFSDIR/$LOG 2>&1 134 135 fi 135 136 echo -ne "done\n" … … 142 143 test `type -p xsltproc` || eval "echo \"This feature requires libxslt.\" 143 144 exit 1" 144 cd $ BUILDDIR145 cd $JHALFSDIR 145 146 146 147 # Start clean … … 151 152 xsltproc -v --nonet --xinclude -o ./commands/ \ 152 153 lfs-$LFSVRS/stylesheets/dump-commands.xsl lfs-$LFSVRS/index.xml \ 153 >>$ BUILDDIR/$LOG 2>&1154 >>$JHALFSDIR/$LOG 2>&1 154 155 155 156 # Move the text files out from the chapter directories, and dump them … … 160 161 161 162 # Grab the patches and package names. 162 cd $ BUILDDIR163 cd $JHALFSDIR 163 164 for i in patches packages ; do rm -f $i ; done 164 165 grep "\-version" lfs-$LFSVRS/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@' \ … … 226 227 227 228 # Iterate through each package and grab it, along with any patches it needs. 228 for i in `cat $ BUILDDIR/packages` ; do229 for i in `cat $JHALFSDIR/packages` ; do 229 230 PKG=`echo $i | sed 's/-version.*//'` 230 231 … … 239 240 fi 240 241 download $PKG $FILE 241 for patch in `grep "$PKG-&$PKG" $ BUILDDIR/patches` ; do242 for patch in `grep "$PKG-&$PKG" $JHALFSDIR/patches` ; do 242 243 PATCH=`echo $patch | sed 's@&'$PKG'-version;@'$VRS'@'` 243 244 download $PKG $PATCH … … 247 248 248 249 249 if [ ! -d $ BUILDDIR ] ; then250 mkdir $BUILDDIR250 if [ ! -d $JHALFSDIR ] ; then 251 mkdir -p $JHALFSDIR 251 252 fi 252 253 253 >$ BUILDDIR/$LOG254 cp $0 $ BUILDDIR/254 >$JHALFSDIR/$LOG 255 cp $0 $JHALFSDIR/ 255 256 get_book
Note:
See TracChangeset
for help on using the changeset viewer.