File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def note(msg)
4545TARGET_FRAMEWORKS_PATH = File . join ( TARGET_BUILD_DIR , FRAMEWORKS_FOLDER_PATH )
4646
4747def extract_link_dependencies ( executable )
48- deps = `otool -L #{ executable } `
48+ deps = `otool -L " #{ executable } " `
4949
5050 lines = deps . split ( "\n " ) . map ( &:strip )
5151 lines . shift
@@ -92,7 +92,7 @@ def repackage_dependency(dep)
9292 FileUtils . cp dep [ :path ] , TARGET_FRAMEWORKS_PATH
9393 FileUtils . chmod "u=rw" , packaged_path
9494
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 } " `
9696 if $? != 0
9797 err "install_name_tool failed with error #{ $?} :\n #{ out } "
9898 end
@@ -107,7 +107,7 @@ def repackage_dependency(dep)
107107
108108def fix_install_id ( dep )
109109 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 } " `
111111 if $? != 0
112112 err "install_name_tool failed with error #{ $?} :\n #{ out } "
113113 end
You can’t perform that action at this time.
0 commit comments