r1708 - in profiles/LFS/trunk: . chapter05 chapter06 config tools

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sun Feb 6 11:00:13 PST 2005


Author: kpfleming
Date: 2005-02-06 12:00:12 -0700 (Sun, 06 Feb 2005)
New Revision: 1708

Added:
   profiles/LFS/trunk/tools/
   profiles/LFS/trunk/tools/tidy.conf
   profiles/LFS/trunk/tools/tidyxml.sh
Modified:
   profiles/LFS/trunk/chapter05/addinguser.xml
   profiles/LFS/trunk/chapter06/vim.xml
   profiles/LFS/trunk/config/general.ent
Log:
prepare for profile being run through "tidy"



Modified: profiles/LFS/trunk/chapter05/addinguser.xml
===================================================================
--- profiles/LFS/trunk/chapter05/addinguser.xml	2005-02-06 18:59:03 UTC (rev 1707)
+++ profiles/LFS/trunk/chapter05/addinguser.xml	2005-02-06 19:00:12 UTC (rev 1708)
@@ -10,7 +10,7 @@
 <stage name="Adding the LFS User">
 	<execute command="groupadd -f lfs" />
 	
-	<execute command="id -u &lfs-user; &> /dev/null || useradd -s /bin/bash -g lfs -m -k /dev/null &lfs-user;" />
+	<execute command="id -u &lfs-user; &real-amp;> /dev/null || useradd -s /bin/bash -g lfs -m -k /dev/null &lfs-user;" />
 
 	<execute command="echo &lfs-user;:&lfs-password; | chpasswd" />
 

Modified: profiles/LFS/trunk/chapter06/vim.xml
===================================================================
--- profiles/LFS/trunk/chapter06/vim.xml	2005-02-06 18:59:03 UTC (rev 1707)
+++ profiles/LFS/trunk/chapter06/vim.xml	2005-02-06 19:00:12 UTC (rev 1708)
@@ -76,7 +76,7 @@
 				=set backspace=2
 				=syntax on
 				=
-				=if (&term == "iterm") || (&term == "putty")
+				=if (&real-amp;term == "iterm") || (&real-amp;term == "putty")
 				=  set background=dark
 				=endif
 				=

Modified: profiles/LFS/trunk/config/general.ent
===================================================================
--- profiles/LFS/trunk/config/general.ent	2005-02-06 18:59:03 UTC (rev 1707)
+++ profiles/LFS/trunk/config/general.ent	2005-02-06 19:00:12 UTC (rev 1708)
@@ -191,3 +191,5 @@
       -->
 
 <!ENTITY paper_size "letter">
+
+<!ENTITY real-amp "&#38;">

Added: profiles/LFS/trunk/tools/tidy.conf
===================================================================
--- profiles/LFS/trunk/tools/tidy.conf	2005-02-06 18:59:03 UTC (rev 1707)
+++ profiles/LFS/trunk/tools/tidy.conf	2005-02-06 19:00:12 UTC (rev 1708)
@@ -0,0 +1,9 @@
+input-xml: true
+indent: true
+wrap: 0
+write-back: true
+add-xml-decl: true
+tidy-mark: false
+vertical-space: true
+output-encoding: latin1
+literal-attributes: true

Added: profiles/LFS/trunk/tools/tidyxml.sh
===================================================================
--- profiles/LFS/trunk/tools/tidyxml.sh	2005-02-06 18:59:03 UTC (rev 1707)
+++ profiles/LFS/trunk/tools/tidyxml.sh	2005-02-06 19:00:12 UTC (rev 1708)
@@ -0,0 +1,4 @@
+cp $1 $1.bak
+tidy -config ../tools/tidy.conf $1
+sed -i 's/\&/\&/g' $1
+rm $1.bak


Property changes on: profiles/LFS/trunk/tools/tidyxml.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the alfs-log mailing list