fix grep warning in macOS build script
Newer version of grep throws a warning "grep: warning: stray \ before /" during macOS app bundle build. Fixed.
This commit is contained in:
parent
342630cb9d
commit
22fe08f77a
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ for i in "$BINARY" $LIBS $LIBDIR/*; do
|
|||
#
|
||||
# https://stackoverflow.com/questions/20206985/xcode-linking-against-applicationservices-framework-with-sdk-10-9-causes-10-7
|
||||
#
|
||||
if [ `otool -L "$i" | grep -c '^[[:space:]]*\/System\/Library\/Frameworks\/CoreGraphics\.framework\/Versions\/A\/CoreGraphics'` -gt 0 ]; then
|
||||
if [ `otool -L "$i" | grep -c '^[[:space:]]*[/]System[/]Library[/]Frameworks[/]CoreGraphics\.framework[/]Versions[/]A[/]CoreGraphics'` -gt 0 ]; then
|
||||
defaultlib="/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics"
|
||||
compatlib="/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics"
|
||||
install_name_tool -change "$defaultlib" "$compatlib" "$i"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue