summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2026-02-04 08:10:42 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2026-02-04 08:10:42 +0900
commitc10b93cd5f04e1ae2fa34dd1bc3dc9e4de37a115 (patch)
treed7e582ba946ff56b6106256adfd4764b546f001a /tool
parent3237be163c313af0b6626b209e55bdb0b33c9f0f (diff)
tool: Support `$NO_COLOR` in `ifchange`
Diffstat (limited to 'tool')
-rwxr-xr-xtool/ifchange1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/ifchange b/tool/ifchange
index 9e4a89533c..b20ae4461a 100755
--- a/tool/ifchange
+++ b/tool/ifchange
@@ -20,6 +20,7 @@ timestamp=
keepsuffix=
srcavail=f
color=auto
+[ "x${NO_COLOR-}" = x ] || color=never
until [ $# -eq 0 ]; do
case "$1" in
--)