Skip to content
Snippets Groups Projects
Commit 9ac9ca30 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5509: updating build ohana script to create sym link

parent 010cc3f0
No related branches found
No related tags found
No related merge requests found
...@@ -31,3 +31,22 @@ if [ "$?" != 0 ]; then ...@@ -31,3 +31,22 @@ if [ "$?" != 0 ]; then
echo "Error: git clone failed" echo "Error: git clone failed"
exit 2; exit 2;
fi fi
if [[ $build_option == 1 || $build_option == 3 ]]; then
echo "**************************************************************************************"
echo "Creating symlink for ohana ..."
cd $HTML_PATH
if [[ $env_option == 1 ]]; then
ln -s "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana uw_wcms_ohana
elif [[ $env_option == 2 ]]; then
cd /var/www/html/web
ln -s ./profiles/uw_base_profile/modules/custom/uw_wcms_ohana uw_wcms_ohana
cd -
else
ln -s ../web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana uw_wcms_ohana
fi
echo "Done creating symlink for ohana."
echo "**************************************************************************************"
echo ""
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment