Author: bdubbs
Date: Tue Aug 21 08:03:27 2018
New Revision: 20355

Log:
Fix a warning

Modified:
   trunk/scripts/blfs-chapter25.php

Modified: trunk/scripts/blfs-chapter25.php
==============================================================================
--- trunk/scripts/blfs-chapter25.php    Tue Aug 21 07:50:24 2018        (r20354)
+++ trunk/scripts/blfs-chapter25.php    Tue Aug 21 08:03:27 2018        (r20355)
@@ -230,7 +230,7 @@
   if ( $book_index == "firefox" )
     return find_max( $lines, "/^\d/", "/^(\d{2}.\d+)$/" );
 
-  if ( substr($book_index, 0, $qt_len)  == "qt-everywhere" )
+  if ( substr($book_index, 0, strlen( "qt-everywhere" ) )  == "qt-everywhere" )
     return find_max( $lines, "/src.*tar.xz/", "/^.*src-([\d\.]+).tar.*$/" );
 
   if ( $book_index == "fltk" )
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to