]> git.saurik.com Git - apple/libpthread.git/blame - xcodescripts/install-lldbmacros.sh
libpthread-330.201.1.tar.gz
[apple/libpthread.git] / xcodescripts / install-lldbmacros.sh
CommitLineData
f1a1da6c
A
1#!/bin/bash -e
2# install the pthread lldbmacros into the module
3
4mkdir -p $DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME/Contents/Resources/Python || true
214d78a2
A
5rsync -aq $SRCROOT/lldbmacros/* $DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME/Contents/Resources/Python
6
7for variant in $BUILD_VARIANTS; do
8 case $variant in
9 normal)
10 SUFFIX=""
11 ;;
12 *)
13 SUFFIX="_$variant"
14 ;;
15 esac
16
17 ln -sf init.py $DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME/Contents/Resources/Python/$EXECUTABLE_NAME$SUFFIX.py
18done