summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-13 15:53:19 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-13 15:53:19 +0100
commitef26b6ea783b9ea3443f7339e751bc5c0b7eaba6 (patch)
tree87900be3dbd85585b6d55452a666a9c5f2417e3c
parent36035832fb6b281b141c27f480ccced945dcc303 (diff)
downloadvyos-live-build-ef26b6ea783b9ea3443f7339e751bc5c0b7eaba6.tar.gz
vyos-live-build-ef26b6ea783b9ea3443f7339e751bc5c0b7eaba6.zip
Don't skip single dot-files in the root directory of binary and chroot local includes
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rwxr-xr-xhelpers/lh_binary_local-includes2
-rwxr-xr-xhelpers/lh_chroot_local-includes2
2 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_local-includes b/helpers/lh_binary_local-includes
index a12a186ff..04e429e94 100755
--- a/helpers/lh_binary_local-includes
+++ b/helpers/lh_binary_local-includes
@@ -42,7 +42,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if ls config/binary_local-includes/* > /dev/null 2>&1
+if ls -A config/binary_local-includes/ | grep . > /dev/null 2>&1
then
# Copying includes
cd config/binary_local-includes
diff --git a/helpers/lh_chroot_local-includes b/helpers/lh_chroot_local-includes
index 281080d5e..49d1c801e 100755
--- a/helpers/lh_chroot_local-includes
+++ b/helpers/lh_chroot_local-includes
@@ -42,7 +42,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if ls config/chroot_local-includes/* > /dev/null 2>&1
+if ls -A config/chroot_local-includes/ | grep . > /dev/null 2>&1
then
# Copying includes
cd config/chroot_local-includes