修正打包命令的语法错误
This commit is contained in:
parent
dc717cd4a5
commit
e0e1bfc251
@ -5,7 +5,7 @@ if [ ! -d $module_path ]; then
|
||||
mkdir -p $module_path
|
||||
fi
|
||||
module_sub_path=$module_path"/node_modules"
|
||||
#if [ ! -d $module_sub_path ]; then
|
||||
if [ ! -d $module_sub_path ]; then
|
||||
npm install --prefer-offline --loglevel info --unsafe-perm=true --allow-root >> boundle.log
|
||||
echo 'copy node_modules to /data/publish/node_packages' >> boundle.log
|
||||
cp -r node_modules $module_sub_path
|
||||
|
Loading…
x
Reference in New Issue
Block a user