Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539200 - games-fps/soldieroffortune-1.06a-r1 - sed: -e expression #1, char 90: unterminated `s' command
Summary: games-fps/soldieroffortune-1.06a-r1 - sed: -e expression #1, char 90: untermi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-07 08:50 UTC by Róbert Čerňanský
Modified: 2015-02-08 07:43 UTC (History)
0 users

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


Attachments
Patch fixing sed and unpack errors. (soldieroffortune.patch,1.11 KB, patch)
2015-02-07 08:50 UTC, Róbert Čerňanský
Details | Diff
Ebuild which fixes sed and unpack errors. (soldieroffortune-1.06a-r1.ebuild,2.37 KB, text/plain)
2015-02-07 08:53 UTC, Róbert Čerňanský
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Róbert Čerňanský 2015-02-07 08:50:38 UTC
Created attachment 395756 [details, diff]
Patch fixing sed and unpack errors.

games-fps/soldieroffortune-1.06a-r1 fails to install due to an error in sed expression.  There is an additional 's' right at the start of the expression:

-       sed -i -e 's/^exec/i \
+       sed -i -e '/^exec/i \

Also there is an additional issue which is not fatal but ugly.  The ebuild unpacks some game files to ${T} and later on it installs the whole content of ${T}.  The problem is that this directory contains other temporary stuff not related to the game, like for example link to build log.  I have modified the ebuild to unpack to a separate subdirectory of ${T} instead.

Patch as well as full fixed ebuild for both issues is attached.
Comment 1 Róbert Čerňanský 2015-02-07 08:53:06 UTC
Created attachment 395758 [details]
Ebuild which fixes sed and unpack errors.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2015-02-08 07:43:16 UTC
in portage.  thanks for the bug report and patch.