diff --git a/build.sh b/build.sh index 2d3429c..20fb614 100644 --- a/build.sh +++ b/build.sh @@ -63,6 +63,7 @@ case "${pkgtype}" in # 前端dist文件 rm -rf ${RpmBuildDirOMCFront} + mkdir -p ${DebBuildDirOMCFront} cp -rf ${EmsFEDir}/* ${RpmBuildDirOMCFront} echo '/*use nginx*/' | tee ${RpmBuildDirOMCFront}/config.js @@ -96,6 +97,7 @@ case "${pkgtype}" in # 前端dist文件 rm -rf ${DebBuildDirOMCFront} + mkdir -p ${DebBuildDirOMCFront} cp -rf ${EmsFEDir}/* ${DebBuildDirOMCFront} echo '/*use nginx*/' | tee ${DebBuildDirOMCFront}/config.js