mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 00:17:37 +01:00
17 lines
382 B
Bash
17 lines
382 B
Bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
|
|
. "$DIR/prelude.sh"
|
|
|
|
set -o errexit
|
|
|
|
cd src
|
|
|
|
# decompress debug symbols
|
|
mkdir debug_extract
|
|
tar -zxvf mongo-debugsymbols.tgz -C debug_extract
|
|
|
|
# renames dist-test to usr for Antithesis
|
|
mv debug_extract/dist-test debug_extract/usr
|
|
|
|
# recompress debug symbols
|
|
tar -czvf mongo-debugsymbols.tgz -C debug_extract usr
|