Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319059 - eutils.class: Fix unpack_makeself version detection
Summary: eutils.class: Fix unpack_makeself version detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 13:50 UTC by James Le Cuirot
Modified: 2010-05-11 21:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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