r3078 - jhalfs/branches/experimental

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Aug 28 10:42:10 PDT 2006


Author: manuel
Date: 2006-08-28 11:42:09 -0600 (Mon, 28 Aug 2006)
New Revision: 3078

Modified:
   jhalfs/branches/experimental/jhalfs
Log:
Downloading BLFS book sources.

Modified: jhalfs/branches/experimental/jhalfs
===================================================================
--- jhalfs/branches/experimental/jhalfs	2006-08-28 17:17:47 UTC (rev 3077)
+++ jhalfs/branches/experimental/jhalfs	2006-08-28 17:42:09 UTC (rev 3078)
@@ -318,6 +318,21 @@
 get_book
 echo "${SD_BORDER}${nl_}"
 
+# Get the BLFS book, if requested.
+if [[ "${BLFS_TOOL}" = "y" ]] ; then
+  echo -n "Downloading the BLFS document, $BLFS_BRANCH_ID version... "
+  if [[ ! -d ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML} ]] ; then
+    mkdir -p ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML}
+    svn co $SVN/BLFS/$TREE ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML} >>$LOGDIR/$LOG 2>&1
+  else
+    pushd ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML} 1> /dev/null
+      svn up >>$LOGDIR/$LOG 2>&1
+    popd 1> /dev/null
+  fi
+  echo -ne "done\n"
+  echo "${SD_BORDER}${nl_}"
+fi
+
 build_Makefile
 echo "${SD_BORDER}${nl_}"
 




More information about the alfs-log mailing list