Skip to content

Commit c10b93c

Browse files
committed
tool: Support $NO_COLOR in ifchange
1 parent 3237be1 commit c10b93c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tool/ifchange

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ timestamp=
2020
keepsuffix=
2121
srcavail=f
2222
color=auto
23+
[ "x${NO_COLOR-}" = x ] || color=never
2324
until [ $# -eq 0 ]; do
2425
case "$1" in
2526
--)

0 commit comments

Comments
 (0)