Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69666 - emerge-webrsync is a bash script.
Summary: emerge-webrsync is a bash script.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-10-31 13:35 UTC by Stephen Bennett (RETIRED)
Modified: 2004-12-17 14:56 UTC (History)
1 user (show)

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 Stephen Bennett (RETIRED) gentoo-dev 2004-10-31 13:35:37 UTC
The emerge-webrsync script has '#!/bin/sh' on its first line, but uses Bash features that aren't present in the standard Bourne shell. This breaks it on platforms such as FreeBSD, where sh and bash are not the same thing. Suggested fix: change the first line to '#!/bin/bash'.

This probably applies to a few more scripts as well, but emerge-webrsync is the one where I noticed it.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-11-02 05:49:01 UTC
Fixed this one. The only other two scripts marked /bin/sh are dojar and find-requires. I'm not familiar enough with what constitues a bashism, so if you check them out I'll mark/leave them as necessary.
Comment 2 Stephen Bennett (RETIRED) gentoo-dev 2004-12-17 14:56:09 UTC
Marking this one fixed since, seemingly, it is.