File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def note(msg)
45
45
TARGET_FRAMEWORKS_PATH = File . join ( TARGET_BUILD_DIR , FRAMEWORKS_FOLDER_PATH )
46
46
47
47
def extract_link_dependencies ( executable )
48
- deps = `otool -L #{ executable } `
48
+ deps = `otool -L " #{ executable } " `
49
49
50
50
lines = deps . split ( "\n " ) . map ( &:strip )
51
51
lines . shift
@@ -92,7 +92,7 @@ def repackage_dependency(dep)
92
92
FileUtils . cp dep [ :path ] , TARGET_FRAMEWORKS_PATH
93
93
FileUtils . chmod "u=rw" , packaged_path
94
94
95
- out = `install_name_tool -change #{ dep . path } "@rpath/#{ dep . name } " #{ dep . executable } `
95
+ out = `install_name_tool -change " #{ dep . path } " "@rpath/#{ dep . name } " " #{ dep . executable } " `
96
96
if $? != 0
97
97
err "install_name_tool failed with error #{ $?} :\n #{ out } "
98
98
end
@@ -107,7 +107,7 @@ def repackage_dependency(dep)
107
107
108
108
def fix_install_id ( dep )
109
109
note "Fixing #{ dep . name } install_name id…"
110
- out = `install_name_tool -id @rpath/#{ dep . name } #{ dep . executable } `
110
+ out = `install_name_tool -id " @rpath/#{ dep . name } " " #{ dep . executable } " `
111
111
if $? != 0
112
112
err "install_name_tool failed with error #{ $?} :\n #{ out } "
113
113
end
You can’t perform that action at this time.
0 commit comments