nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: move "environ" from Symbol to String
[nit.git]
/
src
/
nitdoc.nit
diff --git
a/src/nitdoc.nit
b/src/nitdoc.nit
index
edf64f2
..
07227ab
100644
(file)
--- a/
src/nitdoc.nit
+++ b/
src/nitdoc.nit
@@
-334,7
+334,7
@@
class DocContext
sharedir = opt_sharedir.value
if sharedir == null then
- var dir = once ("NIT_DIR".to_symbol).environ
+ var dir = "NIT_DIR".environ
if dir.is_empty then
dir = "{sys.program_name.dirname}/../share/nitdoc"
if dir.file_exists then sharedir = dir