From cb88778a23473eb95e1cba7646bc7c2fa208e3ad Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Tue, 15 Apr 2008 18:34:02 +0100
Subject: Fix quoting when installing local packages (Closes: #470683)

This was causing problems when building a package and there were binary
packages in the directory above 'config/'. See [0] and [1] for more info.

 [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463406
 [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476294
---
 helpers/lh_chroot_local-packages | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/lh_chroot_local-packages b/helpers/lh_chroot_local-packages
index 953bef7..9c7ed36 100755
--- a/helpers/lh_chroot_local-packages
+++ b/helpers/lh_chroot_local-packages
@@ -59,7 +59,7 @@ then
 	fi
 
 	# Installing packages
-        Chroot "find /root -name *.deb" > chroot/root/local-packages
+        Chroot "find /root -name \\*.deb" > chroot/root/local-packages
 
 	if [ -s chroot/root/local-packages ]
 	then
-- 
cgit v1.0