Browse files

Workaround for sed error on OSX 10.7.2

  • Loading branch information...
1 parent 2def8b4 commit a33f0b2a5f6590c05e998b0c29bc9fb0f194d29f @puzza007 puzza007 committed Oct 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
2 Makefile
@@ -10,7 +10,7 @@ all: deps deps/$(HTTP)
deps:
-rebar get-deps
# git:// URLs don't work behind some proxies. Grr.
- sed -i 's|git:|https:|g' deps/cowboy/rebar.config
+ sed -i 's|git:|https:|g' deps/cowboy/rebar.config > /dev/null 2>&1 || sed -i '' 's|git:|https:|g' deps/cowboy/rebar.config
rebar get-deps
test: test-prep all

0 comments on commit a33f0b2

Please sign in to comment.