Skip to content

Commit

Permalink
Add monster-hack to fix up index.html path names
Browse files Browse the repository at this point in the history
  • Loading branch information
igorw committed Dec 29, 2012
1 parent 9d3923b commit fa494be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/balrog
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ cp -r web/* $TARGET
rm $TARGET/index.php

wget -r -l inf --no-remove-listing --adjust-extension -nH --no-use-server-timestamps -nc -nv -k -P $TARGET http://localhost:$PORT
# replace ../../../index.html with ../../..; uses perl because sed on osx is shite
# somebody please fix this
perl -e "s/\.\.\/\.\.\/\.\.\/index\.html/..\/..\/../g;" -pi $(find static -type f)
kill $PID

0 comments on commit fa494be

Please sign in to comment.