diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index 47d87ecfb97ca54241dad0a716da99d4c0173673..eb0c5389ae083b123de7afde65313c385a94e431 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -705,6 +705,7 @@ exit /b 1 rem --------------------------------------------------------------------------------------------- :zip_cc_file +cd /d %work_dir%\build tree /F %cd%\paddle_inference_install_dir\paddle if exist paddle_inference.zip del paddle_inference.zip python -c "import shutil;shutil.make_archive('paddle_inference', 'zip', root_dir='paddle_inference_install_dir')" @@ -722,6 +723,7 @@ exit /b 1 rem --------------------------------------------------------------------------------------------- :zip_c_file +cd /d %work_dir%\build tree /F %cd%\paddle_inference_c_install_dir\paddle if exist paddle_inference_c.zip del paddle_inference_c.zip python -c "import shutil;shutil.make_archive('paddle_inference_c', 'zip', root_dir='paddle_inference_c_install_dir')"