From 88f741db92b22069f43009fc936e3ad74bbc780f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 30 Jun 2024 15:39:41 +0100 Subject: trees: condense copy_elf() a bit Signed-off-by: Leah Rowe --- script/trees | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'script/trees') diff --git a/script/trees b/script/trees index aa32df81..835cd504 100755 --- a/script/trees +++ b/script/trees @@ -297,8 +297,7 @@ copy_elf() { [ -f "$listfile" ] && x_ mkdir -p "$dest_dir" && while read -r f; do [ -f "$cdir/$f" ] && x_ cp "$cdir/$f" "$dest_dir" - done < "$listfile" - x_ make clean -C "$cdir" + done < "$listfile"; x_ make clean -C "$cdir" } main $@ -- cgit v1.2.1