From 87e128bd424d88e413f37eb8f884c70019ddd2ab Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 26 Jul 2024 03:27:22 +0000 Subject: [PATCH] Bug 37323: Tidy Signed-off-by: David Cook Signed-off-by: Nick Clemens --- tools/picture-upload.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl index f5e579a6915..71d3a269446 100755 --- a/tools/picture-upload.pl +++ b/tools/picture-upload.pl @@ -215,11 +215,11 @@ sub handle_dir { my $dir_h; opendir $dir_h, $dir; while ( my $filename = readdir $dir_h ) { - - if ( ($filename =~ m/datalink\.txt/i - || $filename =~ m/idlink\.txt/i ) && ( -e "$dir/$filename" && !-l "$dir/$filename")) { - $file = Cwd::abs_path("$dir/$filename"); - } + if ( ( $filename =~ m/datalink\.txt/i || $filename =~ m/idlink\.txt/i ) + && ( -e "$dir/$filename" && !-l "$dir/$filename" ) ) + { + $file = Cwd::abs_path("$dir/$filename"); + } } my $fh; unless ( open( $fh, '<', $file ) ) { -- 2.39.2