[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-43-gfc9cce2
Daniel Baumann
daniel at debian.org
Thu Oct 23 11:17:05 UTC 2008
The following commit has been merged in the master branch:
commit 50c1a03695f706506b2ff8fc4698d5607ab59936
Author: Daniel Baumann <daniel at debian.org>
Date: Thu Oct 23 13:08:17 2008 +0200
Adjusting code style of lh_dumpconfig.
diff --git a/helpers/lh_dumpconfig b/helpers/lh_dumpconfig
index ce9aafc..c5509ee 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
--
Debian Live build scripts
More information about the debian-live-changes
mailing list