Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381399 - app-portage/pfl-2.2: installs bash script with /bin/sh shebang
Summary: app-portage/pfl-2.2: installs bash script with /bin/sh shebang
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 08:15 UTC by Michał Górny
Modified: 2011-10-19 17:47 UTC (History)
1 user (show)

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


Attachments
Patch to fix the issue (0001-Fix-POSIX-shell-compat.patch,656 bytes, patch)
2011-09-01 08:15 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-01 08:15:01 UTC
Created attachment 285227 [details, diff]
Patch to fix the issue

Like the summary states. Patch attached.
Comment 1 bugs 2011-09-01 20:19:01 UTC
Hi,
thanks for the patch.

The patch is not changing the shebang. I think it would be the best to apply your patch and changing the shebang from /bin/sh to /bin/bash, right?

cheers
Daniel
Comment 2 bugs 2011-09-01 20:20:57 UTC
(In reply to comment #1)
> The patch is not changing the shebang. I think it would be the best to apply
> your patch and changing the shebang from /bin/sh to /bin/bash, right?

Ups, my fault. The patch is converting the bash syntax into sh.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-01 20:28:57 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > The patch is not changing the shebang. I think it would be the best to apply
> > your patch and changing the shebang from /bin/sh to /bin/bash, right?
> 
> Ups, my fault. The patch is converting the bash syntax into sh.

Yep, it is. The script is simple enough not to actually use bash; it's all basically awk.
Comment 4 bugs 2011-09-06 21:03:05 UTC
Hi,
updated e-file http://files.portagefilelist.de/e-file-20110906

I think we should wait on #381403 until we create a new ebuild.

cheers
Daniel
Comment 5 Daniel Pielmeier gentoo-dev 2011-10-19 17:47:25 UTC
@Michał: Thank you for report this is fixed in pfl-2.3

@Daniel: Thanks for the new version.

Sorry for it taking a bit longer, I am still catching up after switching home/work.