More MacOS work 6

This commit is contained in:
AlexandreRouma
2021-11-15 18:04:57 +01:00
parent 799e8c7e02
commit 2620d688ec
2 changed files with 3 additions and 5 deletions

View File

@ -14,7 +14,5 @@ get_first_arg() {
# Get current path
CURRENT_PATH=$(get_first_arg $(otool -L $EXEC | grep $WANTED_LIB))
echo "Current path for" $WANTED_LIB "in" $EXEC ":" $CURRENT_PATH
# Change to the new path
install_name_tool -change $CURRENT_PATH $NEW_PATH $EXEC