Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170085 - net-firewall/iptables init.d script uses bash specific features [PATCH]
Summary: net-firewall/iptables init.d script uses bash specific features [PATCH]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 10:53 UTC by Natanael Copa
Modified: 2007-03-12 21:38 UTC (History)
0 users

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


Attachments
00-test-and.patch (00-test-and.patch,914 bytes, patch)
2007-03-09 10:54 UTC, Natanael Copa
Details | Diff
00-unbash.patch (00-unbash.patch,2.68 KB, patch)
2007-03-09 17:06 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2007-03-09 10:53:34 UTC
iptables init.d scripts requires bash. Trivial to fix.
Comment 1 Natanael Copa 2007-03-09 10:54:06 UTC
Created attachment 112689 [details, diff]
00-test-and.patch
Comment 2 Natanael Copa 2007-03-09 17:06:29 UTC
Created attachment 112724 [details, diff]
00-unbash.patch

replaced [[ ]] with [ ]
Comment 3 solar (RETIRED) gentoo-dev 2007-03-09 21:06:50 UTC
When not using [[ things within [ should be quoted. 
The nice thing about [[ is that you don't need to use quotes within it.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-03-10 23:04:40 UTC
Fixed in CVS, thanks
Comment 5 SpanKY gentoo-dev 2007-03-12 21:38:48 UTC
a lot of excessive/unnecessary quoting was added