also support VERBOSE in uppercase

This commit is contained in:
bebbo
2023-01-02 16:19:45 +01:00
parent ab114f94d7
commit 1760be9147
+4 -1
View File
@@ -102,7 +102,10 @@ FLOCK := $(has_flock)
endif
L0 = @__p=
L00 = __p=
L00 = __p
ifneq ($(VERBOSE),)
verbose = $(VERBOSE)
endif
ifeq ($(verbose),)
L1 = ; ($(FLOCK) 200; echo -e \\033[33m$$__p...\\033[0m >>.state; echo -ne \\033[33m$$__p...\\033[0m ) 200>.lock; mkdir -p log; __l="log/$$__p.log" ; (
L2 = )$(TEEEE) "$$__l"; __r=$$?; ($(FLOCK) 200; if (( $$__r > 0 )); then \