From 4f2853c3d9631d53ea0addf7a5354ee13e1fb4c9 Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Thu, 9 Jun 2022 08:55:22 -0400 Subject: [PATCH] ISTWCMS-5628: updating images in ohana build script --- build_ohana.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/build_ohana.sh b/build_ohana.sh index 5baff3e9..a53f707f 100755 --- a/build_ohana.sh +++ b/build_ohana.sh @@ -55,6 +55,7 @@ if [[ $build_option == 1 || $build_option == 3 ]]; then cd ohana rm -rf src/patterns ln -s ../../src/patterns src/patterns + ln -s ../images dist/images echo "**************************************************************************************" echo "Done setting up theming." fi @@ -101,15 +102,12 @@ if [[ $build_option == 2 || $build_option == 4 ]]; then fi cd "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ rm -rf ohana + cp images/* dist/images/ + rm -rf images echo "**************************************************************************************" echo "Done setting up css/js and removing ohana." fi if [[ $env_option == 1 ]]; then echo "**************************************************************************************" - echo "Creating symlink for ohana ..." - ln -s "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana "$PL_PATH"/uw_wcms_ohana - echo "Done creating symlink for ohana." - echo "**************************************************************************************" - echo "" -fi + echo "Creatin -- GitLab