Skip to content

Commit

Permalink
Fix sed slash escaping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Teinum committed Feb 15, 2013
1 parent c09e098 commit c85e11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ fi
git reset --hard
git pull

sed -i "s/8000/$2/" backend/main.coffee
sed -i "s/http:\/\/localhost:8000/$1:$2/" frontend/coffee/main.coffee
sed -i "s|8000|$2|" backend/main.coffee
sed -i "s|http://localhost:8000|$1:$2|" frontend/coffee/main.coffee

coffee --output backend backend/main.coffee
coffee --output frontend/js frontend/coffee
Expand Down

0 comments on commit c85e11b

Please sign in to comment.