File: rpath_remove_symlinks.sh

package info (click to toggle)
vcmi 1.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 14,672 kB
  • sloc: cpp: 181,738; sh: 220; python: 178; ansic: 69; objc: 66; xml: 59; makefile: 34
file content (7 lines) | stat: -rwxr-xr-x 229 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/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