mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 00:03:45 +02:00
trees: condense copy_elf() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -297,8 +297,7 @@ copy_elf()
|
|||||||
{
|
{
|
||||||
[ -f "$listfile" ] && x_ mkdir -p "$dest_dir" && while read -r f; do
|
[ -f "$listfile" ] && x_ mkdir -p "$dest_dir" && while read -r f; do
|
||||||
[ -f "$cdir/$f" ] && x_ cp "$cdir/$f" "$dest_dir"
|
[ -f "$cdir/$f" ] && x_ cp "$cdir/$f" "$dest_dir"
|
||||||
done < "$listfile"
|
done < "$listfile"; x_ make clean -C "$cdir"
|
||||||
x_ make clean -C "$cdir"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main $@
|
main $@
|
||||||
|
|||||||
Reference in New Issue
Block a user