From: Ian Jackson Date: Fri, 12 Oct 2018 18:26:16 +0000 (+0000) Subject: debian/rules: Use find rather than shell glob for strip X-Git-Tag: archive/raspbian/4.11.1-1+rpi1^2~65 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=198ea008f6cd2737bd8cf9ab5a03258f857b65df;p=xen.git debian/rules: Use find rather than shell glob for strip This stops this from falling over on arches without hvmloader. Signed-off-by: Ian Jackson --- diff --git a/debian/rules b/debian/rules index e0d8355c39..45c6658157 100755 --- a/debian/rules +++ b/debian/rules @@ -284,9 +284,9 @@ override_dh_installinit: # that again, then. This all happens after dh_install so we operate # on the package-specific file. override_dh_strip: - chmod +x debian/xen-utils-*/usr/lib/xen-*/boot/hvmloader + find debian/xen-utils-* -name hvmloader | xargs -r chmod -v +x dh_strip - chmod -x debian/xen-utils-*/usr/lib/xen-*/boot/hvmloader + find debian/xen-utils-* -name hvmloader | xargs -r chmod -v -x # Hardlink the various xenstore-* programs together. This is an # argv[0]-using binary of which we can have only one copy. We need to