Author: bdubbs
Date: Thu Oct  4 23:07:01 2018
New Revision: 20578

Log:
Typo

Modified:
   trunk/scripts/blfs-chapter14.php

Modified: trunk/scripts/blfs-chapter14.php
==============================================================================
--- trunk/scripts/blfs-chapter14.php    Thu Oct  4 13:34:03 2018        (r20577)
+++ trunk/scripts/blfs-chapter14.php    Thu Oct  4 23:07:01 2018        (r20578)
@@ -124,7 +124,7 @@
       $position = strrpos( $dirpath, "/" );
       $dirpath  = substr ( $dirpath, 0, $position );  // Up 1
       $lines1   = http_get_file( "$dirpath/" );
-      $dir      = find_even_max( $lines1, "\.[\d\.P-]+\s*$/", "/^.* 
(\d\.[\d\.P-]+)$/" );
+      $dir      = find_even_max( $lines1, "/\.[\d\.P-]+\s*$/", "/^.* 
(\d\.[\d\.P-]+)$/" );
       $dirpath .= "/$dir/";
       $lines2   = http_get_file( $dirpath );
       return find_max( $lines2, "/bind-9/", "/^.*bind-(\d+[\d\.P\-]+).tar.*$/" 
);
-- 
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