Author: bdubbs
Date: Fri Feb 26 21:07:23 2021
New Revision: 24312
Log:
Fix qt5 currency
Modified:
trunk/scripts/blfs-chapter25.php
Modified: trunk/scripts/blfs-chapter25.php
==============================================================================
--- trunk/scripts/blfs-chapter25.php Fri Feb 26 19:17:25 2021 (r24311)
+++ trunk/scripts/blfs-chapter25.php Fri Feb 26 21:07:23 2021 (r24312)
@@ -203,11 +203,12 @@
$position = strrpos( $dirpath, "/" );
$dirpath = substr ( $dirpath, 0, $position ); // Up 3
$dirlines = http_get_file( $dirpath );
- $dir = find_max( $dirlines, '/^[\d\.]+.*$/', '/^([\d\.]+).*$/' );
+ # Version 5.x only
+ $dir = find_max( $dirlines, '/;5\./', '/^.*;([\d\.]+).*$/' );
$dirpath .= "/$dir";
$dirlines = http_get_file( "$dirpath" );
- $dir = find_max( $dirlines, '/^[\d\.]+.*$/', '/^([\d\.]+).*$/' );
- $dirpath .= "/$dir/single";
+ $max = find_max( $dirlines, '/;[\d\.]+/', '/^.*;([\d\.]+)\/.*$/' );
+ return $max;
}
if ( $book_index == "QScintilla_gpl" )
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page