Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplify Rakefiles' erl_lib_dir

  • Loading branch information...
commit f07614df2ade04f7d8ea5fae3185cde1692a1936 1 parent 40480c5
@manveru manveru authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 Rakefile
View
8 Rakefile
@@ -117,13 +117,7 @@ CLEAN.include "erl_crash.dump"
# Retrieve the directory Erlang libraries are stored in
def erl_lib_dir
- $erl_lib_dir ||= begin
- if ENV['ERL_LIB_DIR']
- ENV['ERL_LIB_DIR']
- else
- `erl -noshell -eval "io:format(code:lib_dir())" -s erlang halt`
- end
- end
+ ENV['ERL_LIB_DIR'] ||= `erl -noshell -eval "io:format(code:lib_dir())" -s erlang halt`
end
Please sign in to comment.
Something went wrong with that request. Please try again.