r3048 - in jhalfs/branches/experimental/BLFS: . libs

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed Aug 23 10:53:56 PDT 2006


Author: manuel
Date: 2006-08-23 11:53:55 -0600 (Wed, 23 Aug 2006)
New Revision: 3048

Modified:
   jhalfs/branches/experimental/BLFS/gen_pkg_book.sh
   jhalfs/branches/experimental/BLFS/libs/func_parser
Log:
Cleanning configuration file.

Modified: jhalfs/branches/experimental/BLFS/gen_pkg_book.sh
===================================================================
--- jhalfs/branches/experimental/BLFS/gen_pkg_book.sh	2006-08-23 17:44:35 UTC (rev 3047)
+++ jhalfs/branches/experimental/BLFS/gen_pkg_book.sh	2006-08-23 17:53:55 UTC (rev 3048)
@@ -110,7 +110,20 @@
   done
 }
 
+#
+# Clean configuration file keeping only global default settings.
+# Than prevent "trying to assign nonexistent symbol" messages
+# and assures that there is no TARGET selected from a pevious run
+#
+#--------------------------#
+clean_configuration() {    #
+#--------------------------#
 
+tail -n 30 configuration > configuration.tmp
+mv configuration.tmp configuration
+
+}
+
 #---------------------
 # Constants
 source libs/constants.inc
@@ -141,3 +154,4 @@
 generate_TARGET_xml
 generate_target_book
 create_build_scripts "${SUDO}"
+clean_configuration

Modified: jhalfs/branches/experimental/BLFS/libs/func_parser
===================================================================
--- jhalfs/branches/experimental/BLFS/libs/func_parser	2006-08-23 17:44:35 UTC (rev 3047)
+++ jhalfs/branches/experimental/BLFS/libs/func_parser	2006-08-23 17:53:55 UTC (rev 3048)
@@ -143,8 +143,9 @@
            --stringparam sudo $SUDO \
            -o ./scripts/ ../libs/scripts.xsl \
            $TARGET-index.xml >> xsltproc.log 2>&1
-  echo -e "done\n"
     # Make the scripts executable.
   chmod -R +x scripts
+  cd ..
+  echo -e "done\n"
 
 }




More information about the alfs-log mailing list