Author: bdubbs Date: Thu Mar 14 23:13:16 2019 New Revision: 21331 Log: Fix ruby currency
Modified: trunk/scripts/blfs-chapter13.php Modified: trunk/scripts/blfs-chapter13.php ============================================================================== --- trunk/scripts/blfs-chapter13.php Thu Mar 14 22:22:58 2019 (r21330) +++ trunk/scripts/blfs-chapter13.php Thu Mar 14 23:13:16 2019 (r21331) @@ -52,7 +52,7 @@ $regex[ 'lxml' ] = "/^.*lxml-(\d[\d\.]+\d).*$/"; $regex[ 'funcsigs' ] = "/^.*funcsigs (\d[\d\.]+\d).*$/"; $regex[ 'pycrypto' ] = "/^.*pycrypto (\d[\d\.]+\d).*$/"; -$regex[ 'ruby' ] = "/^.*Ruby (\d[\d\.]+\d) Released.*$/"; +//$regex[ 'ruby' ] = "/^.*Ruby (\d[\d\.]+\d) Released.*$/"; // Perl Modules $regex[ 'Archive-Zip' ] = "/^.*Archive-Zip-(\d[\d\.]+\d).*$/"; @@ -564,6 +564,9 @@ return 0; // This is an error } + if ( $book_index == "ruby" ) + return find_max( $lines, '/Released/', '/^.*Ruby (\d\.[\d\.]+\d) R.*$/' ); + if ( $book_index == "Net-SSLeay" ) return find_max( $lines, '/\d\./', '/^.*(\d\.[\d\._]+\d)$/' ); -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page