r2273 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Jan 12 10:42:15 PST 2006


Author: manuel
Date: 2006-01-12 11:42:14 -0700 (Thu, 12 Jan 2006)
New Revision: 2273

Modified:
   jhalfs/trunk/jhalfs
   jhalfs/trunk/jhalfs.conf
Log:
Fixed the svn check and added WC to the config file.
Thanks to Bruce Dubbs for pointing out both issues.

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2006-01-10 03:58:23 UTC (rev 2272)
+++ jhalfs/trunk/jhalfs	2006-01-12 18:42:14 UTC (rev 2273)
@@ -150,12 +150,12 @@
 #----------------------------#
 get_book() {
 #----------------------------#
-  # Check for Subversion instead of just letting the script hit 'svn' and fail.
-  test `type -p svn` || eval "echo \"This feature requires Subversion.\"
-  exit 1"
   cd $JHALFSDIR
 
   if [ -z $WC ] ; then
+    # Check for Subversion instead of just letting the script hit 'svn' and fail.
+    test `type -p svn` || eval "echo \"This feature requires Subversion.\"
+    exit 1"
     echo -n "Downloading the LFS Book, version $LFSVRS... "
 
     # Grab a fresh LFS book if it's missing, otherwise, update it from the

Modified: jhalfs/trunk/jhalfs.conf
===================================================================
--- jhalfs/trunk/jhalfs.conf	2006-01-10 03:58:23 UTC (rev 2272)
+++ jhalfs/trunk/jhalfs.conf	2006-01-12 18:42:14 UTC (rev 2273)
@@ -41,6 +41,11 @@
 #--- Location of kernel config file (if the kernel is to be compiled)
 CONFIG=
 
+#--- Book's sources directory
+# Uncomment this variables if you have previously checked
+# out the book from the repository
+# BOOK=/path/to/book
+# WC=1
 
 
 #==== INTERNAL VARIABLES ====
@@ -56,11 +61,6 @@
 JHALFSDIR=$BUILDDIR/jhalfs
    LOGDIR=$JHALFSDIR/logs
    MKFILE=$JHALFSDIR/Makefile
-   
+
 #--- Book version
 LFSVRS=development
-
-#--- Book's sources directory
-# Uncomment this variable if you have previously checked
-# out the book from the repository
-# BOOK=/path/to/book




More information about the alfs-log mailing list