Skip to content
Browse files

sed fix for OS X

  • Loading branch information...
1 parent f15109b commit 9277faacf06b440e4b2914aba17ff2780e3cd4c4 @traviskaufman traviskaufman committed
Showing with 7 additions and 1 deletion.
  1. +7 −1 build/
8 build/
@@ -3,4 +3,10 @@ node r.js -o build.js
node r.js -o cssIn=../css/styles.css out=output/css/styles.css
cp ../index.html output/index.html
-sed -i 's/js\/libs\/require\/require.js/http:\/\/\/docs\/release\/1.0.5\/minified\/require.js/g' output/index.html
+SEDCMD='sed -i'
+if [[ $OSTYPE == *"darwin"* ]]; then
+SEDCMD=$SEDCMD' s/js\/libs\/require\/require.js/http:\/\/\/docs\/release\/1.0.5\/minified\/require.js/g output/index.html'
+rm -f output/*.tmp

0 comments on commit 9277faa

Please sign in to comment.
Something went wrong with that request. Please try again.