Skip to content

Instantly share code, notes, and snippets.

@robotlolita
Created April 23, 2011 04:38
Show Gist options
  • Save robotlolita/938289 to your computer and use it in GitHub Desktop.
Save robotlolita/938289 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo ">> BUILDING ------------------------------------------------------------"
make clean
make html
echo ">> FIXING --------------------------------------------------------------"
cd build/html
mv _static static
for file in *.html; do
sed s/_static/static/ $file > tmp
mv tmp $file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment