r3036 - in jhalfs/branches/experimental: . BLFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Tue Aug 22 11:36:51 PDT 2006


Author: manuel
Date: 2006-08-22 12:36:50 -0600 (Tue, 22 Aug 2006)
New Revision: 3036

Modified:
   jhalfs/branches/experimental/BLFS/update_book.sh
   jhalfs/branches/experimental/blfs
Log:
Allow to regenerate packages database and meta-packages dependencies without updating the BLFS book sources.

Modified: jhalfs/branches/experimental/BLFS/update_book.sh
===================================================================
--- jhalfs/branches/experimental/BLFS/update_book.sh	2006-08-22 03:17:21 UTC (rev 3035)
+++ jhalfs/branches/experimental/BLFS/update_book.sh	2006-08-22 18:36:50 UTC (rev 3036)
@@ -6,8 +6,8 @@
 
 declare -r SVN="svn://svn.linuxfromscratch.org"
 
-BLFS_XML=$1  # Book directory
-DOC_MODE=$2  # Action to take, update or get
+DOC_MODE=$1  # Action to take, update, get or none
+BLFS_XML=$2  # Book directory
 TREE=$3      # SVN tree for the BLFS book version
 
 [[ -z $BLFS_XML ]] && BLFS_XML=blfs-xml
@@ -70,7 +70,7 @@
   esac
 }
 
-BOOK_Source
+[ "${DOC_MODE}" != "none" ] && BOOK_Source
 
 echo -en "\n\tGenerating packages database file ..."
 generate_packages

Modified: jhalfs/branches/experimental/blfs
===================================================================
--- jhalfs/branches/experimental/blfs	2006-08-22 03:17:21 UTC (rev 3035)
+++ jhalfs/branches/experimental/blfs	2006-08-22 18:36:50 UTC (rev 3036)
@@ -132,7 +132,7 @@
 if [[ -d $BLFS_XML ]] ; then
   ./update_book.sh
 else
-  ./update_book.sh $BLFS_XML get $TREE
+  ./update_book.sh get $BLFS_XML $TREE
 fi
 
 # Generate Config.in and run the menuconfig interface




More information about the alfs-log mailing list