File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ sub configureRXXR2 {
128
128
my $dir = " rathnayake-rxxr2" ;
129
129
my $file = " $dir /scan.bin" ;
130
130
my $clone_dir = " rxxr" ;
131
+ my $stable =" 0eea5e9f0e0cde6c39e0fc12614f64edb6189cd5" ;
131
132
132
133
if (-d $dir ) {
133
134
&log (" rathnayake already installed ($ENV {VULN_REGEX_DETECTOR_ROOT}/src/detect/src/detectors/$dir )" );
@@ -138,7 +139,7 @@ sub configureRXXR2 {
138
139
&log (" Cloning repo" );
139
140
&chkcmd(" git clone https://github.com/ConradIrwin/rxxr2 $clone_dir " );
140
141
&log (" Building" );
141
- &chkcmd(" cd $clone_dir / code; ./build.sh; cd - " );
142
+ &chkcmd(" cd $clone_dir ; git checkout $stable ; cd code; ./build.sh; cd ../.. " );
142
143
143
144
&log (" Cleaning up" );
144
145
&chkcmd(" mv $clone_dir /code/scan.bin /tmp/RXXR2-INSTALL-scan.bin" );
You can’t perform that action at this time.
0 commit comments