From 5ab271821b54bf7933976cf3f44ccf4546e43991 Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Fri, 5 Jan 2018 22:18:11 +0800 Subject: [PATCH] fix crash when generating c-api package --- paddle/scripts/docker/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index f1e244772f3..12fd7b1bdaf 100644 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -208,7 +208,7 @@ function gen_capi_package() { find ./third_party/install -name 'libiomp5.so' -exec cp {} $install_prefix/usr/local/lib \; cd $install_prefix/usr/local - ls | egrep -v "^Found.*item$" | xargs tar /paddle/build/paddle.tgz + ls | egrep -v "^Found.*item$" | xargs tar -cf /paddle/build/paddle.tgz fi } -- GitLab