Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193365 - app-arch/bzip2-1.0.4 bzgrep is a #!/bin/sh script but uses bash substitution
Summary: app-arch/bzip2-1.0.4 bzgrep is a #!/bin/sh script but uses bash substitution
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 19:03 UTC by Martin Väth
Modified: 2007-09-22 18:32 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 Martin Väth 2007-09-21 19:03:13 UTC
bzgrep uses ${var//..} substitutions although its first line reads #!/bin/sh.
Thus, it won't work if /bin/sh is a link to a POSIX shell like dash.
An easy workaround is to replace the first line by #!/bin/bash.
Comment 1 SpanKY gentoo-dev 2007-09-22 18:32:31 UTC
fixed in bzip2-1.0.4-r1 by using sed