Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • process-scripts.sh

    rb2b1e1a r3781c69  
    99do
    1010  script=$(basename $s)
    11  
     11
    1212  # Skip directories
    1313  [ $script == 'network-devices' ] && continue
     
    1515
    1616  # Disambiguate duplicate file names
    17   [ $s == 'bootscripts/lfs/sysconfig/rc'         ] && script='rc-sysinit'; 
    18   [ $s == 'bootscripts/lfs/sysconfig/modules'    ] && script='modules-sysinit'; 
    19   [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry'; 
    20  
     17  [ $s == 'bootscripts/lfs/sysconfig/rc'         ] && script='rc-sysinit';
     18  [ $s == 'bootscripts/lfs/sysconfig/modules'    ] && script='modules-sysinit';
     19  [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry';
     20
    2121  sed  -e 's/\&/\&amp\;/g' -e 's/</\&lt\;/g'   -e 's/>/\&gt\;/g' \
    2222       -e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/    /g'  \
    23        $s > appendices/${script}.script 
     23       $s > appendices/${script}.script
    2424done
Note: See TracChangeset for help on using the changeset viewer.