From 4b7b96bce8274e62d9ef9813cc823d9362e7d256 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Wed, 6 Aug 2008 23:28:27 +0200
Subject: Making check for local-includes silent.

---
 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 57918bd..96bf0b6 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 -A config/binary_local-includes/ | grep -qs .
+if ls -A config/binary_local-includes/ | grep -qs . > /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 697c33b..afb5b84 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 -A config/chroot_local-includes/ | grep -qs .
+if ls -A config/chroot_local-includes/ | grep -qs . > /dev/null 2>&1
 then
 	# Copying includes
 	cd config/chroot_local-includes
-- 
cgit v1.0