Browse Source

Fixed a setup bug with cowboy

msmith-techempower 10 years ago
parent
commit
099ec46ee4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Erlang/cowboy/setup_erlang.sh

+ 1 - 1
frameworks/Erlang/cowboy/setup_erlang.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-sed -i 's|"benchmarkdbpass", ".*", 3306"|"benchmarkdbpass", "'"${DBHOST}"'", 3306"|g' src/hello_world_app.erl
+sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/hello_world_app.erl
 
 
 rm -rf deps/*
 rm -rf deps/*
 $REBAR_HOME/rebar get-deps
 $REBAR_HOME/rebar get-deps