Author: bdubbs Date: Sun Apr 17 10:34:20 2016 New Revision: 17268 Log: Fix yesterday's fix for p7zip
Modified: trunk/scripts/blfs-chapter12.php Modified: trunk/scripts/blfs-chapter12.php ============================================================================== --- trunk/scripts/blfs-chapter12.php Sat Apr 16 20:49:43 2016 (r17267) +++ trunk/scripts/blfs-chapter12.php Sun Apr 17 10:34:20 2016 (r17268) @@ -17,7 +17,7 @@ $ignores = array(); -//$current="p7zip"; +//$current="autofs"; $regex = array(); $regex[ 'acpid' ] = "/^.*Download acpid-(\d[\d\.]+\d).tar.*$/"; @@ -185,8 +185,10 @@ # Needs a space in [\d\. ]+ becasue of an upstream typo if ( $book_index == "p7zip" ) + { $max = find_max( $lines, '/\d\./', '/^\s*([\d\. ]+)\s*$/' ); return str_replace( " ", "", $max ); + } if ( $book_index == "unzip" || $book_index == "zip" ) -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page