aboutsummaryrefslogtreecommitdiffstats
path: root/process-scripts.sh
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2021-09-07 23:10:29 +0200
committerPierre Labastie <pierre.labastie@neuf.fr>2021-09-07 23:10:29 +0200
commit3781c69cbc45591ea4ac06868a65a0ee84151edd (patch)
treecdd1e2c5a8b8e19a027f17b9240838064dc684a9 /process-scripts.sh
parent4458e3d2d88184e1c5b566f8bac38b6015abd81e (diff)
Remove eol spaces
Diffstat (limited to 'process-scripts.sh')
-rw-r--r--process-scripts.sh12
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/\&/\&amp\;/g' -e 's/</\&lt\;/g' -e 's/>/\&gt\;/g' \
-e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/ /g' \
- $s > appendices/${script}.script
+ $s > appendices/${script}.script
done