From c79b823f17f15769939210028090fc4d5b7b6bc3 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Thu, 20 Mar 2008 05:10:07 -0300 Subject: [PATCH] Fix default user setting in Makefile Otherwise the default user name is set to the name of the current user Signed-off-by: Claudio Matsuoka --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8d33e8af..1518126d 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ BINS = finit finit-mod finit-mdv #### Configurable parameters # Default user for finit-alt if not "user" -#USER=fred +#DEFUSER = fred # Add -DDEBUG to build with debug messages, also drops to terminal after X #CFLAGS += -DDEBUG @@ -37,8 +37,8 @@ CFLAGS += -DBUILTIN_RUNPARTS -ifneq ($(USER), "user") -CFLAGS += -DDEFUSER=\"$(USER)\" +ifneq ($(DEFUSER),) +CFLAGS += -DDEFUSER=\"$(DEFUSER)\" endif .c.o: