From 6619a960e3475475eb135ec8a69ec06d88328092 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 3 Apr 2024 08:47:12 +0200 Subject: [PATCH] fix termux detection --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ceba199..f582239 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ CURL = curl -s # Checkers ARCH = $(shell grep -c "archlinux" /proc/version 2> /dev/null) WSL = $(shell grep -c "WSL2" /proc/version 2> /dev/null) -TERMUX = $(shell type termux-info 2> /dev/null) +TERMUX = $(shell type termux-info &> /dev/null && echo 1) # Hide some verbose messages from Make MAKEFLAGS += --no-print-directory