diff --git a/build_ohana.sh b/build_ohana.sh index 1cc96f2318dc63801622af708bf54370773d0c53..2ee70823c72210b644a98fe41f44f65a9bfc9c91 100755 --- a/build_ohana.sh +++ b/build_ohana.sh @@ -76,9 +76,9 @@ if [[ $build_option != 1 && $build_option != 3 ]]; then echo "Setting up css/js and removing ohana ..." mv "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ohana/dist "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ cd "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ohana/dist/css - ls | grep -v all.min.css | parallel rm + rm !("all.min.css") cd "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ohana/dist/js - ls | grep -v all.min.js | parallel rm + rm !("all.min.js") cd "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ rm -rf ohana echo "**************************************************************************************"