Summary: | sys-devel/autoconf-wrapper: bashism in ac-wrapper.sh | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Ermisch <floh.edo> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | prefix |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Solaris | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | diffs for autoconf-wrapper-11-r00.1.ebuild and files/ac-wrapper-11.sh |
Description
Florian Ermisch
2011-07-29 21:40:05 UTC
vaguely saying "it has bashisms" is not useful. we need actual details. file runs just fine under dash. I think this bug falsely suggests the script contains bashisms or something. It probably contains POSIX sh-isms, which is not the same as /bin/sh on most UNIX systems. replacement operations aren't supported, e.g.: % /bin/sh $ echo ${0##*/} bad substitution $ I don't really see why this bug comes up, though, as the ac-wrapper-11.sh script already gets a fixed shebang with Prefix Portage, e.g. it uses $EPREFIX/bin/sh, which most likely is GNU bash. Leaving this bug closed for this reason. Well the version my Solaris 10 prefix was using a week ago didn't had a prefixed shebang this is why this problem came up. Good to know that it's already fixed. |