From 445008fa443cb69210cfc5d95d948735a2de02c5 Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Thu, 16 Jul 2020 23:37:42 -0700 Subject: [PATCH] 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. --- debian/shuffle-binaries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2