summaryrefslogtreecommitdiff
path: root/helpers/lh_config
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2009-01-01 21:34:35 +0000
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:34 +0100
commitb211776641d833c08373eb07e686e0f06adc81e7 (patch)
treeb34e4bf3b60d5b865e40ad57d35abc637209a11b /helpers/lh_config
parentd8e52213999298860c0843e1ec935822e75f8acf (diff)
downloadvyos-live-build-b211776641d833c08373eb07e686e0f06adc81e7.tar.gz
vyos-live-build-b211776641d833c08373eb07e686e0f06adc81e7.zip
Re-order arguments to find(1) to silence warning about sub-optimal ordering.
Diffstat (limited to 'helpers/lh_config')
-rwxr-xr-xhelpers/lh_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_config b/helpers/lh_config
index b9354e070..5bfe74751 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -173,7 +173,7 @@ Local_arguments ()
done
# Dump directory listings of all directories under config/
- for DIRECTORY in $(find config/ -type d -mindepth 1 -maxdepth 1)
+ for DIRECTORY in $(find config/ -mindepth 1 -maxdepth 1 -type d)
do
if Find_files "${DIRECTORY}"
then