Fixed packaging script
This commit is contained in:
parent
66ad46cef6
commit
9a0fc705e1
@ -29,7 +29,8 @@ mv TeaSpeakServerTmp TeaSpeakServer
|
|||||||
|
|
||||||
strip -s -p -v TeaSpeakServer || { echo "failed to strip symbols!"; exit 1; }
|
strip -s -p -v TeaSpeakServer || { echo "failed to strip symbols!"; exit 1; }
|
||||||
patchelf --set-rpath ./libs/ TeaSpeakServer || { echo "failed to set rpath!"; exit 1; }
|
patchelf --set-rpath ./libs/ TeaSpeakServer || { echo "failed to set rpath!"; exit 1; }
|
||||||
tar --dereference -cvf - * | gzip -9 "../${BUILD_FILENAME}" || { echo "failed to package server"; exit 1; }
|
tar --dereference -cvf - * | gzip -f -9 > "../${BUILD_FILENAME}"
|
||||||
|
[[ $? -ne 0 ]] && { echo "failed to package server"; exit 1; }
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
rm -r finalenv
|
rm -r finalenv
|
||||||
|
Loading…
Reference in New Issue
Block a user