summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-30 15:39:41 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-30 15:39:41 +0100
commit88f741db92b22069f43009fc936e3ad74bbc780f (patch)
tree0a7fca78de8f72458a220698ac214a3f655239b4 /script
parentd5928c9ba8c5099f78e5d444587e854b5f1b5d23 (diff)
trees: condense copy_elf() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees3
1 files changed, 1 insertions, 2 deletions
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 $@