Permalink
Browse files

makefile: added a comment on LANG

adding the "why" for commit 4a80d23
  • Loading branch information...
1 parent e7e29c4 commit bf3a14f8ca23c8c17f7b414d33801df555fbf381 @steveschnepp steveschnepp committed Jul 17, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile.config
View
@@ -96,6 +96,9 @@ PERLSITELIB := $(shell $(PERL) -V:sitelib | cut -d"'" -f2)
PERLLIB = $(DESTDIR)$(PERLSITELIB)
# Client only - Install plugins for this architecture
+# the LANG=C makes tr work as expected, not regarding any locale it
+# isn't done globally to enable users to have as much localized
+# errors as possible
OSTYPE := $(shell uname | LANG=C tr '[A-Z]' '[a-z]' | cut -f 1 -d _)
# How to figure out the hostname. (Only used in default configuration

0 comments on commit bf3a14f

Please sign in to comment.