mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
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 <claudio@frohike.(none)>
This commit is contained in:
1 parent
71ce4b98e9
commit
c79b823f17
1 file changed
+3
-3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user