mirror of
https://github.com/troglobit/finit.git
synced 2026-11-17 19:30:29 +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
|
#### Configurable parameters
|
||||||
|
|
||||||
# Default user for finit-alt if not "user"
|
# 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
|
# Add -DDEBUG to build with debug messages, also drops to terminal after X
|
||||||
#CFLAGS += -DDEBUG
|
#CFLAGS += -DDEBUG
|
||||||
@@ -37,8 +37,8 @@ CFLAGS += -DBUILTIN_RUNPARTS
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ifneq ($(USER), "user")
|
ifneq ($(DEFUSER),)
|
||||||
CFLAGS += -DDEFUSER=\"$(USER)\"
|
CFLAGS += -DDEFUSER=\"$(DEFUSER)\"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
|
|||||||
Reference in new issue
Block a user