Correct css file patch for different depths in site directory.

This commit is contained in:
Luke Taylor 2007-09-06 00:13:11 +00:00
parent e23d6fb29b
commit 293545eb4e

View File

@ -120,11 +120,13 @@ fi
pushd $SITE_DIR pushd $SITE_DIR
find . -maxdepth 3 -mindepth 2 -name "*.html" | xargs perl -i -p -e 's#\./css/#\.\./css/#;' \ find . -maxdepth 2 -mindepth 2 -name "*.html" | xargs perl -i -p -e 's#\./css/#\.\./css/#;' \
-e 's/Maven Surefire Report/Unit Tests/;' \ -e 's/Maven Surefire Report/Unit Tests/;' \
-e 's/Cobertura Test Coverage/Test Coverage/;' \ -e 's/Cobertura Test Coverage/Test Coverage/;' \
-e 's/A successful project.*greatly appreciated\.//;' -e 's/A successful project.*greatly appreciated\.//;'
find . -maxdepth 3 -mindepth 3 -name "*.html" | xargs perl -i -p -e 's#\./css/#\.\./\.\./css/#;'
popd popd
######################################################################################################################## ########################################################################################################################