diff --git a/build_ohana.sh b/build_ohana.sh index 66a7495c2dba14e887ed09c0dba3581526e6b6f4..8b27952aa4e710af3eb602b09e6f5e91fc2580b4 100755 --- a/build_ohana.sh +++ b/build_ohana.sh @@ -114,9 +114,9 @@ if [[ $build_option == 2 || $build_option == 4 ]]; then cd .. mv ohana/dist . cd dist/css - find . -type f -not -name 'all.min.css' -delete + rm !(all.min.css|uw-dashboard.min.css) cd ../js - find . -type f -not -name 'all.min.js' -delete + rm !(all.min.js) cd .. if [[ -d vendor ]]; then rm -rf vendor