Skip to content

Commit 5ab2718

Browse files
committed
fix crash when generating c-api package
1 parent 643ff03 commit 5ab2718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/scripts/docker/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function gen_capi_package() {
208208

209209
find ./third_party/install -name 'libiomp5.so' -exec cp {} $install_prefix/usr/local/lib \;
210210
cd $install_prefix/usr/local
211-
ls | egrep -v "^Found.*item$" | xargs tar /paddle/build/paddle.tgz
211+
ls | egrep -v "^Found.*item$" | xargs tar -cf /paddle/build/paddle.tgz
212212
fi
213213
}
214214

0 commit comments

Comments
 (0)