File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -89,38 +89,31 @@ fn main() {
89
89
{
90
90
panic ! ( "failed to build htslib" ) ;
91
91
}
92
- // println!("autoheader");
93
- if Command :: new ( "autoconf" )
92
+ if !Command :: new ( "autoconf" )
94
93
. current_dir ( out. join ( "htslib" ) )
95
94
. status ( )
96
95
. unwrap ( )
97
96
. success ( )
98
- != true
99
97
{
100
98
panic ! ( "failed to build htslib" ) ;
101
99
}
102
- // println!("autoconf");
103
- if Command :: new ( "sh" )
100
+ if !Command :: new ( "sh" )
104
101
. current_dir ( out. join ( "htslib" ) )
105
102
. arg ( "./configure" )
106
- . arg ( format ! ( "CC=clang" ) )
103
+ . arg ( format ! ( "CC=clang" . to_string ( ) ) )
107
104
. status ( )
108
105
. unwrap ( )
109
106
. success ( )
110
- != true
111
107
{
112
108
panic ! ( "failed to build htslib" ) ;
113
109
}
114
- // println!("sh ./configure");
115
- // println!("{}", format!("--prefix={}/local", home_dir().unwrap().into_os_string().into_string().unwrap()));
116
- if Command :: new ( "sh" )
110
+ if !Command :: new ( "sh" )
117
111
. current_dir ( out. join ( "htslib" ) )
118
112
. arg ( "./configure" )
119
113
. arg ( format ! ( "--prefix={}/local" , home_dir( ) . unwrap( ) . into_os_string( ) . into_string( ) . unwrap( ) ) )
120
114
. status ( )
121
115
. unwrap ( )
122
116
. success ( )
123
- != true
124
117
{
125
118
panic ! ( "failed to build htslib" ) ;
126
119
}
You can’t perform that action at this time.
0 commit comments