diff --git a/examples/phoenix/.setup.sh b/examples/phoenix/.setup.sh index 4a2c59360..a8a31379f 100755 --- a/examples/phoenix/.setup.sh +++ b/examples/phoenix/.setup.sh @@ -6,7 +6,7 @@ mix local.rebar --force mix archive.install --force hex phx_new if [ ! -d "hello" ]; then - yes | mix phx.new hello + echo y | mix phx.new --install hello sed -i -e "s/hostname: \"localhost\"/socket_dir: System.get_env(\"PGHOST\")/" ./hello/config/dev.exs fi