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

ISTWCMS-5637: updating build ohana to only copy fonts if there are any

parent 25565cc9
No related branches found
No related tags found
1 merge request!9Feature/istwcms 5637 ebremner ohana fonts
......@@ -59,11 +59,13 @@ ln -s ../../src/patterns src/patterns
echo "**************************************************************************************"
echo "Done setting up theming."
echo "**************************************************************************************"
echo "Copying fonts ..."
cp "$DRUPAL_PATH"/web/config/fonts/* dist/fonts
echo "**************************************************************************************"
echo "Done copying fonts."
if [[ -d "$DRUPAL_PATH"/web/config/fonts ]]: then
echo "**************************************************************************************"
echo "Copying fonts ..."
cp "$DRUPAL_PATH"/web/config/fonts/* dist/fonts
echo "**************************************************************************************"
echo "Done copying fonts."
fi
echo "**************************************************************************************"
echo "Running npm install ..."
......
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