Explorar o código

Correct css file patch for different depths in site directory.

Luke Taylor %!s(int64=18) %!d(string=hai) anos
pai
achega
293545eb4e
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      releasebuild.sh

+ 3 - 1
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
 
 ########################################################################################################################