diff options
-rwxr-xr-x | bin/syncqt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -529,7 +529,7 @@ sub findFiles { } else { ($dir =~ /\/$/) || ($dir .= "/"); } - foreach $file ( readdir(D) ) { + foreach $file ( sort readdir(D) ) { next if ( $file =~ /^\.\.?$/ ); $p = $file; ($file =~ /$match/) && (push @files, $p); |