From: Elliott Mitchell Date: Fri, 17 Jul 2020 06:37:42 +0000 (-0700) Subject: d/shuffle-binaries: Switch loop from for to while X-Git-Tag: archive/raspbian/4.14.1+11-gb0b734a8b3-1+rpi1^2~46 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=445008fa443cb69210cfc5d95d948735a2de02c5;p=xen.git d/shuffle-binaries: Switch loop from for to while We want to switch the interpreter from bash to sh, so we need to get rid of the back ticks. Signed-off-by: Elliott Mitchell Acked-by: Hans van Kranenburg [Hans van Kranenburg] Replaced explanation in the commit message. --- diff --git a/debian/shuffle-binaries b/debian/shuffle-binaries index 3d951ed721..f50ffd2d75 100755 --- a/debian/shuffle-binaries +++ b/debian/shuffle-binaries @@ -20,7 +20,7 @@ cd=/usr/lib/xen-common/bin mkdir -p "$t/$vd" -for binary in `find $t/usr/{bin,sbin} -type f`; do +find "$t"/usr/*bin -type f | while read binary; do # filter for executables (ignore scripts) file "$binary" | grep -q -eELF.\\+version.\\+interpreter || continue