Skip to content

Commit c1f6e2a

Browse files
committed
Fix incorrect string length.
1 parent 21c7055 commit c1f6e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class.release.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public function delete_files_from_svn() {
381381
$post_msg = ' no files to delete from SVN.';
382382

383383
foreach( $svn_files as $file ) {
384-
if( ! in_array( $file, $git_files ) && '.svn' != $file && '.svn/' != substr( $file, 0, 4 ) && $file != 'readme.txt' ) {
384+
if( ! in_array( $file, $git_files ) && '.svn' != $file && '.svn/' != substr( $file, 0, 5 ) && $file != 'readme.txt' ) {
385385
exec( '"' . $this->config_settings['svn-path'] . 'svn" delete ' . $file . $this->platform_null, $output, $result );
386386

387387
echo $prefix . $file;

0 commit comments

Comments
 (0)