Commit b5c5912a authored by Karl Kornel's avatar Karl Kornel
Browse files

Fix escaping regex

parent e9859035
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -434,7 +434,7 @@ EOF
	# Find our samplesheet
	dolog("Drive running complete!  Checking for samplesheet.\n");
	my $samplesheet_search_path = "$DRIVEPATH/$LIBRARYID SampleSheet*.csv";
	$samplesheet_search_path =~ s{[ ]}{\ }xims;
	$samplesheet_search_path =~ s{[ ]}{\\\ }g;
	my @samplesheets = glob $samplesheet_search_path;
	dolog('Found ' . scalar(@samplesheets) . " candidate(s).\n");