From 12309732c08ba06733b05d5d2ecfdb0018c89e17 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 6 Aug 2021 15:52:00 +0100 Subject: default.o.do: rename compiler to tool --- default.o.do | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/default.o.do b/default.o.do index 0d129c4..1d0fb41 100755 --- a/default.o.do +++ b/default.o.do @@ -3,11 +3,11 @@ set -e redo-ifchg-pipe() { tr '\n' '\0' | xargs -r0 redo-ifchange; } src=${1%.o}.c if grep -q '@BUILD_CC host' "$src"; then - compiler=compile-host.tool + tool=compile-host.tool else - compiler=compile.tool + tool=compile.tool fi -redo-ifchange "$compiler" .parse-deps.sed "$src" +redo-ifchange "$tool" .parse-deps.sed "$src" sed -n 's|.*@BUILD_DEP \(.*\)|\1|p' "$src" | redo-ifchg-pipe -. "./$compiler" +. "./$tool" "${cmd[@]}" | sed -f .parse-deps.sed | redo-ifchg-pipe -- cgit v1.2.3-54-g00ecf