[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476294: /usr/bin/lh_chroot_local-packages: fails if packages exist in .



tags 476294 + patch
thanks

Michal Suchanek wrote:

> Actually thereis no way to pass * to Chroot so that it is not expanded.

Hmm.

  --- live-helper-1.0~a43.orig/helpers/lh_chroot_local-packages
  +++ live-helper-1.0~a43/helpers/lh_chroot_local-packages
   @@ -59,7 +59,7 @@ 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

This works as expected, even when there are files in ".".


Regards,

-- 
Chris Lamb, UK                                       chris at chris-lamb.co.uk
                                                            GPG: 0x634F9A20
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20080415/9df838f8/attachment.pgp 


Reply to: