1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/ios/rpath_remove_symlinks.sh

8 lines
229 B
Bash
Raw Normal View History

#!/usr/bin/env bash
cd "$CODESIGNING_FOLDER_PATH/Frameworks"
tbbFilename=$(otool -L libNullkiller.dylib | egrep --only-matching 'libtbb\S+')
if [[ -L "$tbbFilename" ]]; then
mv -f "$(readlink "$tbbFilename")" "$tbbFilename"
fi