summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2008-10-03 19:12:41 +0000
committerwtc%google.com <devnull@localhost>2008-10-03 19:12:41 +0000
commitbfcdeefd0537db5d7697f816c600c75b4bc91d18 (patch)
tree36edc1eaba38134ff09fa2850934a4a56da0ff7a
parent3512af31fb733522162d9212c7ae025c7176132e (diff)
downloadnss-hg-bfcdeefd0537db5d7697f816c600c75b4bc91d18.tar.gz
Bug 455348: change hyphens to underscores in usernames. r=julien.pierre.
-rw-r--r--security/coreconf/UNIX.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/coreconf/UNIX.mk b/security/coreconf/UNIX.mk
index f51f1ca70..58531709a 100644
--- a/security/coreconf/UNIX.mk
+++ b/security/coreconf/UNIX.mk
@@ -46,7 +46,9 @@ ifdef BUILD_OPT
DEFINES += -UDEBUG -DNDEBUG
else
OPTIMIZER += -g
- DEFINES += -DDEBUG -UNDEBUG -DDEBUG_$(shell whoami)
+ USERNAME := $(shell whoami)
+ USERNAME := $(subst -,_,$(USERNAME))
+ DEFINES += -DDEBUG -UNDEBUG -DDEBUG_$(USERNAME)
endif
ifdef BUILD_TREE