cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_user.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Fri May 28 20:33:15 PDT 2004


jwrober     04/05/28 21:33:15

  Modified:    docs/syntax_doc/alfs_dtd elem_user.xml
  Log:
  * cleanup
  
  Revision  Changes    Path
  1.8       +1 -32     ALFS/docs/syntax_doc/alfs_dtd/elem_user.xml
  
  Index: elem_user.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_user.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- elem_user.xml	23 Feb 2004 03:53:51 -0000	1.7
  +++ elem_user.xml	29 May 2004 03:33:15 -0000	1.8
  @@ -31,38 +31,7 @@
   <sect2>
   <title>Examples</title>
   
  -<screen><userinput><stage>
  -	<stageinfo>
  -		<base>/usr/src/mypackage</base>
  -		<user>lfs</user>
  -	</stageinfo>
  -
  -	<make>
  -		<param>install</param>
  -	</make>
  -</stage></userinput></screen>
  -
  -<para>The equivalent bash script is :</para>
  -
  -<screen><userinput>echo Stage
  -
  -echo Creating file ./_nalfs_tmp.1...
  -cat > ./_nalfs_tmp.1 << 'EOF1'
  -echo Executing make
  -cd /usr/src/mypackage
  -make install
  -
  -true
  -EOF1
  -[[ $? != 0 ]] &&  echo Creating file failed && exit 3
  -
  -chmod 775 ./_nalfs_tmp.1
  -echo Executing as user lfs
  -/bin/su lfs -c ./_nalfs_tmp.1
  -
  -echo Finished execution as user lfs
  -
  -echo Exiting stage</userinput></screen>
  +<para>Refer to <xref linkend="elem_stageinfo"/> for and example.</para>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list