Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 319059

Summary: eutils.class: Fix unpack_makeself version detection
Product: Gentoo Linux Reporter: James Le Cuirot <chewi>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Le Cuirot gentoo-dev 2010-05-09 13:50:16 UTC
I have encountered a makeself file that has this as the first three lines.

#!/bin/sh
# This script was generated using Nixstaller with Makeself 2.1.4
# The generated code is orginally based on 'makeself-header.sh' from Makeself,

The current version detection grep matches the first AND second lines, which breaks the detection. This is easily fixed by adding -m1 to the grep options and also makes it much faster in the process.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2010-05-11 20:08:27 UTC
in portage.  thanks for the bug report.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2010-05-11 21:47:47 UTC
bugzilla