From 01a611b24df62850aaaf9971d9d874a1f8ae8acc Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Fri, 13 Jun 2008 15:53:19 +0100
Subject: Don't skip single dot-files in the root directory of binary and
 chroot local includes

---
 helpers/lh_binary_local-includes | 2 +-
 helpers/lh_chroot_local-includes | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/helpers/lh_binary_local-includes b/helpers/lh_binary_local-includes
index a12a186..04e429e 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 281080d..49d1c80 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
-- 
cgit v1.0