Author: bdubbs
Date: Thu May 21 21:02:46 2020
New Revision: 23187

Log:
Work around llvm issue on github

Modified:
   trunk/scripts/blfs-chapter13.php

Modified: trunk/scripts/blfs-chapter13.php
==============================================================================
--- trunk/scripts/blfs-chapter13.php    Thu May 21 20:45:14 2020        (r23186)
+++ trunk/scripts/blfs-chapter13.php    Thu May 21 21:02:46 2020        (r23187)
@@ -152,7 +152,7 @@
 
    array( 'pkg'     => 'llvm',
           'match'   => '^.*$',
-          'replace' => "https://github.com/llvm/llvm-project/releases"; ),
+          'replace' => "https://github.com/llvm/llvm-project/tags"; ),
           //'replace' => "http://llvm.org/releases/download.html"; ),
 
    array( 'pkg'     => 'nasm',
@@ -608,7 +608,7 @@
     return find_max( $lines, '/doxygen/', '/^.*doxygen-([\d\.]+).src.tar.*$/' 
);
 
   if ( $book_index == "llvm" )
-     return find_max( $lines, "/llvm-/",  "/^.*llvm-([\d\.]+).src.*$/" );
+     return find_max( $lines, "/llvmorg-/",  "/^.*llvmorg-([\d\.]+) .*$/" );
 
   if ( $book_index == "elfutils" )
      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

Reply via email to