mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Better check in shared binary build
This commit is contained in:
parent
d0ef26e1b8
commit
f2f9f585e4
@ -14,6 +14,11 @@ mv ./dbms/programs/clickhouse* /output
|
||||
mv ./dbms/unit_tests_dbms /output
|
||||
find . -name '*.so' -print -exec mv '{}' /output \;
|
||||
find . -name '*.so.*' -print -exec mv '{}' /output \;
|
||||
tar -czvf shared_build.tgz /output
|
||||
rm -r /output/*
|
||||
mv shared_build.tgz /output
|
||||
|
||||
count=`ls -1 /output/*.so 2>/dev/null | wc -l`
|
||||
if [ $count != 0 ]
|
||||
then
|
||||
tar -czvf shared_build.tgz /output
|
||||
rm -r /output/*
|
||||
mv shared_build.tgz /output
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user