summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-06 23:28:27 +0200
committerDaniel Baumann <daniel@debian.org>2008-08-06 23:28:27 +0200
commit0a1a5f6da7ddf9fd6e3b5b87da7f4bc9ba478ebc (patch)
treececf1a6b300d85f344cf6c9b184db34712eae2cf
parent85f3ef1f465af0f4ee2f82afe55474382f4a6f56 (diff)
downloadvyos-live-build-0a1a5f6da7ddf9fd6e3b5b87da7f4bc9ba478ebc.tar.gz
vyos-live-build-0a1a5f6da7ddf9fd6e3b5b87da7f4bc9ba478ebc.zip
Making check for local-includes silent.
-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 57918bd1a..96bf0b650 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 697c33b6b..afb5b84c2 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