File tree Expand file tree Collapse file tree 6 files changed +10
-4
lines changed
Expand file tree Collapse file tree 6 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ script_name=$( realpath " $0 " )
3+ script_base=$( dirname " $script_name " )
4+ for file in $( find ${script_base} /dep_root/lib/pkgconfig -name " *.pc" ) ; do export pkg=$( realpath $( dirname $( realpath " ${file} " ) ) /../../) ; pkg=$( echo $pkg | sed ' s/\//\\\//g' ) ; sed -i " s/^prefix=.*/prefix=${pkg} /g" $file ; done
Original file line number Diff line number Diff line change @@ -288,6 +288,8 @@ int main(int argc, const char * argv[]) {
288288 break ;
289289 case '0' : // long option: "debug"; can be called as short option
290290 idevicerestore_debug = 1 ;
291+ tss_set_print_tss_request (1 );
292+ tss_set_print_tss_response (1 );
291293 tss_set_debug_level (3 );
292294 break ;
293295 case '1' : // long option: "list-devices"; can be called as short option
@@ -300,10 +302,10 @@ int main(int argc, const char * argv[]) {
300302 shshSavePath = optarg ;
301303 break ;
302304 case '4' : // long option: "print-tss-request"; can be called as short option
303- print_tss_request = 1 ;
305+ tss_set_print_tss_request ( 1 ) ;
304306 break ;
305307 case '5' : // long option: "print-tss-response"; can be called as short option
306- print_tss_response = 1 ;
308+ tss_set_print_tss_response ( 1 ) ;
307309 break ;
308310 case '6' : // long option: "beta"; can be called as short option
309311 versVals .useBeta = 1 ;
@@ -324,6 +326,8 @@ int main(int argc, const char * argv[]) {
324326 case 'r' : // long option: "raw"; can be called as short option
325327 rawFilePath = optarg ;
326328 idevicerestore_debug = 1 ;
329+ tss_set_print_tss_request (1 );
330+ tss_set_print_tss_response (1 );
327331 tss_set_debug_level (3 );
328332 break ;
329333 case 'c' : // long option: "bbsnum"; can be called as short option
Original file line number Diff line number Diff line change @@ -37,14 +37,12 @@ extern "C" {
3737#include "debug.h"
3838
3939extern int dbglog ;
40- extern int print_tss_response ;
4140extern int nocache ;
4241extern int save_shshblobs ;
4342extern int update_install ;
4443extern int erase_install ;
4544extern int save_bplist ;
4645extern const char * shshSavePath ;
47- extern int print_tss_request ;
4846
4947struct bbdevice {
5048 const char * deviceModel ;
You can’t perform that action at this time.
0 commit comments