Also pack config into shared archive

This commit is contained in:
alesapin 2019-09-23 15:20:08 +03:00
parent 7a822ad815
commit 6b6714761b

View File

@ -18,6 +18,10 @@ find . -name '*.so.*' -print -exec mv '{}' /output \;
count=`ls -1 /output/*.so 2>/dev/null | wc -l`
if [ $count != 0 ]
then
mkdir -p /output/config
cp ../dbms/programs/server/config.xml /output/config
cp ../dbms/programs/server/users.xml /output/config
cp -r ../dbms/programs/server/config.d /output/config
tar -czvf shared_build.tgz /output
rm -r /output/*
mv shared_build.tgz /output