summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
authorMichael Prokop <mika@debian.org>2010-06-14 12:15:07 +0200
committerMichael Prokop <mika@debian.org>2010-06-14 12:15:07 +0200
commitab28c77261267a14cc7308e8c4d7a0b48a8ac2ab (patch)
tree86d47628ed391bd636cdb6b5e45c84426d693dc3 /mkinitramfs
parent60afd2a944cf36a5bce6ca3b4c07a422e98efeba (diff)
downloadinitramfs-tools-ab28c77261267a14cc7308e8c4d7a0b48a8ac2ab.tar.gz
initramfs-tools-ab28c77261267a14cc7308e8c4d7a0b48a8ac2ab.zip
code cleanup: consequently replace spaces in indentions with tabs to unify coding stile
Signed-off-by: Michael Prokop <mika@debian.org>
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs22
1 files changed, 11 insertions, 11 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 70e5c13..a854f02 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -69,7 +69,7 @@ for i in /usr/share/initramfs-tools/conf.d/* ${CONFDIR}/conf.d/*; do
| grep '^[[:alnum:]][[:alnum:]\._-]*$' | grep -v '\.dpkg-.*$')";
done
# FIXME: deprecated those settings on mkinitramfs run
-# these conf dirs are for boot scripts and land on initramfs
+# these conf dirs are for boot scripts and land on initramfs
for i in ${EXTRA_CONF}; do
if [ -e ${CONFDIR}/conf.d/${i} ]; then
. ${CONFDIR}/conf.d/${i}
@@ -198,7 +198,7 @@ done
# Copy the modules.order file in
if [ -f "${MODULESDIR}/modules.order" ]; then
cp -p "${MODULESDIR}/modules.order" \
- "${DESTDIR}${MODULESDIR}/modules.order"
+ "${DESTDIR}${MODULESDIR}/modules.order"
fi
# MODULES=list case. Always honour.
@@ -313,15 +313,15 @@ find "${DESTDIR}" -type l -printf '%p %Y\n' | sed -n 's/ [LN]$//p' \
# cd "${DESTDIR}" && find . | cpio --quiet --dereference -o -H newc | gzip >"${outfile}" || exit 1
exec 3>&1
eval `
- # http://cfaj.freeshell.org/shell/cus-faq-2.html
- exec 4>&1 >&3 3>&-
- cd "${DESTDIR}"
- {
- find . 4>&-; echo "ec1=$?;" >&4
- } | {
- cpio --quiet --dereference -o -H newc 4>&-; echo "ec2=$?;" >&4
- } | ${compress} >"${outfile}"
- echo "ec3=$?;" >&4
+ # http://cfaj.freeshell.org/shell/cus-faq-2.html
+ exec 4>&1 >&3 3>&-
+ cd "${DESTDIR}"
+ {
+ find . 4>&-; echo "ec1=$?;" >&4
+ } | {
+ cpio --quiet --dereference -o -H newc 4>&-; echo "ec2=$?;" >&4
+ } | ${compress} >"${outfile}"
+ echo "ec3=$?;" >&4
`
if [ "$ec1" -ne 0 ]; then exit "$ec1"; fi
if [ "$ec2" -ne 0 ]; then exit "$ec2"; fi