diff options
author | Pierre Labastie <pierre.labastie@neuf.fr> | 2021-09-07 23:10:29 +0200 |
---|---|---|
committer | Pierre Labastie <pierre.labastie@neuf.fr> | 2021-09-07 23:10:29 +0200 |
commit | 3781c69cbc45591ea4ac06868a65a0ee84151edd (patch) | |
tree | cdd1e2c5a8b8e19a027f17b9240838064dc684a9 /process-scripts.sh | |
parent | 4458e3d2d88184e1c5b566f8bac38b6015abd81e (diff) |
Remove eol spaces
Diffstat (limited to 'process-scripts.sh')
-rw-r--r-- | process-scripts.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/process-scripts.sh b/process-scripts.sh index 2b373a34d..dbd5039bb 100644 --- a/process-scripts.sh +++ b/process-scripts.sh @@ -8,17 +8,17 @@ for s in bootscripts/lfs/init.d/* \ udev-lfs/*.rules do script=$(basename $s) - + # Skip directories [ $script == 'network-devices' ] && continue #[ $script == 'services' ] && continue # Disambiguate duplicate file names - [ $s == 'bootscripts/lfs/sysconfig/rc' ] && script='rc-sysinit'; - [ $s == 'bootscripts/lfs/sysconfig/modules' ] && script='modules-sysinit'; - [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry'; - + [ $s == 'bootscripts/lfs/sysconfig/rc' ] && script='rc-sysinit'; + [ $s == 'bootscripts/lfs/sysconfig/modules' ] && script='modules-sysinit'; + [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry'; + sed -e 's/\&/\&\;/g' -e 's/</\<\;/g' -e 's/>/\>\;/g' \ -e "s/'/\&apos\;/g" -e 's/"/\"\;/g' -e 's/\t/ /g' \ - $s > appendices/${script}.script + $s > appendices/${script}.script done |