2
0
Эх сурвалжийг харах

Correct css file patch for different depths in site directory.

Luke Taylor 18 жил өмнө
parent
commit
293545eb4e
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  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
 
 ########################################################################################################################