Commit ba3ca69 1 parent 2a16784 commit ba3ca69 Copy full SHA for ba3ca69
File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,8 @@ def main(argv):
84
84
frameworks_symlink = os .path .join (libraries_path , 'Frameworks' )
85
85
symlink (frameworks_location , frameworks_symlink )
86
86
sdk_output = symlink_target
87
- print (sdk_output )
87
+ if not args .as_gclient_hook :
88
+ print (sdk_output )
88
89
return 0
89
90
90
91
Original file line number Diff line number Diff line change @@ -101,11 +101,13 @@ def main():
101
101
symlink (sdk_output , symlink_target )
102
102
sdk_output = symlink_target
103
103
104
- print (sdk_output )
105
- return best_sdk
104
+ if not options .as_gclient_hook :
105
+ print (sdk_output )
106
+ print (best_sdk )
107
+ return 0
106
108
107
109
108
110
if __name__ == '__main__' :
109
111
if sys .platform != 'darwin' :
110
112
raise Exception ("This script only runs on Mac" )
111
- print ((main ()))
113
+ sys . exit ((main ()))
You can’t perform that action at this time.
0 commit comments