Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Commit

Permalink
Fix some deprecated IO.readline/0 calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jul 22, 2013
1 parent 80fa00d commit eff5973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ IO.puts("Some variables (such as FLECT_CC_ARGS and FLECT_LD_ARGS) can be left em
IO.puts("")

IO.puts("Press Enter to start configuring Flect.")
IO.readline()
IO.read(:stdio, :line)

target = :unicode.characters_to_binary(:erlang.system_info(:system_architecture))

Expand Down Expand Up @@ -200,7 +200,7 @@ IO.puts(" FLECT_SH_LIB_DIR = #{sh_lib_dir}")
IO.puts("")

IO.puts("Press Enter to write the configuration.")
IO.readline()
IO.read(:stdio, :line)

cfg = "# Generated by config.exs on #{inspect(:erlang.localtime())}.
Expand Down

0 comments on commit eff5973

Please sign in to comment.