Author: bdubbs
Date: Fri Jan 11 22:30:08 2019
New Revision: 20956

Log:
Update scons script

Modified:
   trunk/scripts/blfs-chapter13.php

Modified: trunk/scripts/blfs-chapter13.php
==============================================================================
--- trunk/scripts/blfs-chapter13.php    Fri Jan 11 21:58:25 2019        (r20955)
+++ trunk/scripts/blfs-chapter13.php    Fri Jan 11 22:30:08 2019        (r20956)
@@ -154,7 +154,7 @@
 
    array( 'pkg'     => 'scons',
           'match'   => '^.*$',
-          'replace' => "http://sourceforge.net/projects/scons/files"; ),
+          'replace' => "http://sourceforge.net/projects/scons/files/scons"; ),
 
    array( 'pkg'     => 'tcl',
           'match'   => '^.*$',
@@ -630,7 +630,7 @@
     return find_max( $lines, "/$package/", "/^.*$package-(\d[\d\.]+\d).*$/" );
 
   if ( $book_index == "scons" )
-    return find_max( $lines, "/$package/", 
"/^.*$package-(\d[\d\.]+\d).zip.*$/" );
+    return find_max( $lines, "/\d\.\d\.\d/", "/^.*(\d\.\d\.\d).*$/" );
 
   if ( $book_index == "apache-maven" )
     return find_max( $lines, "/$package/", 
"/^.*$package-(\d[\d\.]+\d)-src.*$/" );
-- 
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