Author: bdubbs Date: Sat Feb 9 21:51:58 2019 New Revision: 21120 Log: Update ninja currency
Modified: trunk/scripts/blfs-chapter13.php Modified: trunk/scripts/blfs-chapter13.php ============================================================================== --- trunk/scripts/blfs-chapter13.php Sat Feb 9 18:27:54 2019 (r21119) +++ trunk/scripts/blfs-chapter13.php Sat Feb 9 21:51:58 2019 (r21120) @@ -135,8 +135,8 @@ array( 'pkg' => 'ninja', 'match' => '^.*$', - 'replace' => "https://ninja-build.org/" ), - //'replace' => "https://github.com/ninja-build/ninja/releases" ), + 'replace' => "https://github.com/ninja-build/ninja/releases" ), + //'replace' => "https://ninja-build.org/" ), array( 'pkg' => 'scour', 'match' => '^.*$', @@ -573,7 +573,7 @@ if ( $package == "ninja" ) // ninja { - $max = find_max( $lines, "/release/", "/^.*v(\d[\d\.]*\d).*$/" ); + $max = find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" ); return $max; } -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page