summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-10-23 13:08:17 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:43 +0100
commit9af11084afb5f10cb603b508417675905f3d7146 (patch)
treea8062f56e2d4ca19a2c8612c3368762b3e7357b7 /helpers
parentd0ba615d075e9929bb292a555240136fc4d425e8 (diff)
downloadvyos-live-build-9af11084afb5f10cb603b508417675905f3d7146.tar.gz
vyos-live-build-9af11084afb5f10cb603b508417675905f3d7146.zip
Adjusting code style of lh_dumpconfig.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_dumpconfig18
1 files changed, 9 insertions, 9 deletions
diff --git a/helpers/lh_dumpconfig b/helpers/lh_dumpconfig
index ce9aafc27..c5509ee65 100755
--- a/helpers/lh_dumpconfig
+++ b/helpers/lh_dumpconfig
@@ -39,22 +39,22 @@ dpkg -l live-helper || true
Print_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
# Dump contents of directories that contain text files
-for DIR in config/binary_local-packageslists config/chroot_local-packageslists config/chroot_apt config/chroot_local-patches config/chroot_local-preseed config/binary_rootfs
+for DIRECTORY in config/binary_local-packageslists config/chroot_local-packageslists config/chroot_apt config/chroot_local-patches config/chroot_local-preseed config/binary_rootfs
do
- if Find_files "${DIR}"
+ if Find_files "${DIRECTORY}"
then
- Echo_file "${DIR}"/*
+ Echo_file "${DIRECTORY}"/*
fi
done
# Dump directory listings of all directories under config/
-for DIR in $(find config/ -mindepth 1 -maxdepth 1 -type d )
+for DIRECTORY in $(find config/ -type d -mindepth 1 -maxdepth 1)
do
- if Find_files "${DIR}"
+ if Find_files "${DIRECTORY}"
then
- ls -lR "${DIR}" | while read LINE
- do
- echo "${DIR}: ${LINE}"
- done
+ ls -lR "${DIRECTORY}" | while read LINE
+ do
+ echo "${DIRECTORY}: ${LINE}"
+ done
fi
done