Commit 8e1602dd authored by tywldx's avatar tywldx

fix

parent cf224a67
......@@ -90,16 +90,7 @@ function buildUiProject()
echo "----node-V4---${node4_path}/npm install"
${node4_path}/npm install
else
npmrc=`find ./ -maxdepth 1 -name ".npmrc"`
echo "---------------$npmrc"
if [ -n "$npmrc" ];then
echo "-----1-----"
npm install
else
echo "-----2-----"
npm --registry http://172.16.3.15:4873 install
fi
npm --registry http://172.16.3.15:4873 install
fi
bower_json=`find ./ -maxdepth 1 -name "bower.json"`
......@@ -130,7 +121,16 @@ function buildNodeProject()
rm -rf ./$config_file
echo " ------------ln -s $config_path/node/$project.* ./$config_file"
ln -s $config_path/node/$project.* ./$config_file
npm --registry http://172.16.3.15:4873 install
npmrc=`find ./ -maxdepth 1 -name ".npmrc"`
echo "---------------$npmrc"
if [ -n "$npmrc" ];then
echo "-----1-----"
npm install
else
echo "-----2-----"
npm --registry http://172.16.3.15:4873 install
fi
}
function buildPythonProject()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment