From cbf1ae601d4e2eb344f915d92848372a41ef38ec Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 26 Nov 2002 06:44:29 +0000 Subject: [PATCH] Deuce's mod: uses tr instead of awk for lowercase conversion of uname results. --- src/xpdev/GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xpdev/GNUmakefile b/src/xpdev/GNUmakefile index d8f2943317..99e1164134 100644 --- a/src/xpdev/GNUmakefile +++ b/src/xpdev/GNUmakefile @@ -36,7 +36,8 @@ ifndef os os = $(shell uname) $(warning OS not specified on command line, setting to '$(os)'.) endif -os := $(shell echo $(os) | awk '/.*/ { print tolower($$1)}') +os := $(shell echo $(os) | tr "[A-Z]" "[a-z]") +#os := $(shell echo $(os) | awk '/.*/ { print tolower($$1)}') ifdef bcc ODIR := bcc.$(os) -- GitLab