From 699e37dd0bb6480081f3e305ad7440aa151b1a04 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 18 Nov 2026 10:29:57 +0100 Subject: [PATCH] tools: remove duplicate variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All our script already define a `BASE_DIR` variable, needed to load `utils.sh`; computing a similar `ROOT` variable in `utils.sh` is pure overhead and needlessly complicates reading the source files. Signed-off-by: Antoine du Hamel PR-URL: https://github.com/nodejs/node/pull/67511 Reviewed-By: James M Snell Reviewed-By: René Reviewed-By: Luigi Pinca --- tools/dep_updaters/update-amaro.sh | 2 +- tools/dep_updaters/update-c-ares.sh | 2 +- tools/dep_updaters/utils.sh | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/dep_updaters/update-amaro.sh b/tools/dep_updaters/update-amaro.sh index 0169e9304bc..f257497b7e5 100755 --- a/tools/dep_updaters/update-amaro.sh +++ b/tools/dep_updaters/update-amaro.sh @@ -60,7 +60,7 @@ rm -rf node_modules mv ./* "$DEPS_DIR/amaro" # update version information in src/undici_version.h -cat > "$ROOT/src/amaro_version.h" < "$BASE_DIR/src/amaro_version.h" <