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

ISTWCMS-5509: updating build ohana to use parameters from rebuild script

parent 7469b8c0
No related branches found
No related tags found
No related merge requests found
env_option=${1:-2} env_option=${1:-2}
build_option=${2:-1} build_option=${2:-1}
PL_PATH=${3:-"/var/www/html/web"} PL_PATH=${3:-"/var/www/html/web"}
DRUPAL_PATH=${4:-/var/www/html} DRUPAL_PATH=${4:-"/var/www/html"}
os_option=${5:-"mac"} os_option=${5:-1}
if [[ -L "$PL_PATH/uw_wcms_ohana" || -d "$PL_PATH/uw_wcms_ohana" ]]; then if [[ -L "$PL_PATH/uw_wcms_ohana" || -d "$PL_PATH/uw_wcms_ohana" ]]; then
echo "" echo ""
...@@ -46,7 +46,7 @@ echo "Done installing correct npm version." ...@@ -46,7 +46,7 @@ echo "Done installing correct npm version."
echo "**************************************************************************************" echo "**************************************************************************************"
echo "Running npm install ..." echo "Running npm install ..."
if [[ $os_option == "mac" ]]; then if [[ $os_option == 1 ]]; then
export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" export CPPFLAGS="-DPNG_ARM_NEON_OPT=0"
fi fi
npm install 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