From 293545eb4e882b48f56b50f1bf19cf328b59bba2 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 6 Sep 2007 00:13:11 +0000 Subject: [PATCH] Correct css file patch for different depths in site directory. --- releasebuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/releasebuild.sh b/releasebuild.sh index 5113626ab6..77646ad395 100644 --- a/releasebuild.sh +++ b/releasebuild.sh @@ -120,11 +120,13 @@ fi 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/Cobertura Test Coverage/Test Coverage/;' \ -e 's/A successful project.*greatly appreciated\.//;' +find . -maxdepth 3 -mindepth 3 -name "*.html" | xargs perl -i -p -e 's#\./css/#\.\./\.\./css/#;' + popd ########################################################################################################################