Error in Charm Writing install hook example
Bug #1234536 reported by
Adam Collard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Website |
Fix Released
|
Undecided
|
Nick Veitch |
Bug Description
The install hook example for Vanilla Forums contains this line
"cat <<EOF $gt; /etc/apache2/
Note the $gt; instead of > to render a > and cause cat to redirect stdout to that file.
The database-
"cat < $vanilla_config"
but is meant to say "cat <<EOF > $vanilla_config", with the inverted redirect no doubt anyone following this example would get in to all sort of trouble! :)
Related branches
lp:~adam-collard/juju-core/writing-charms-typos
- charmers: Pending requested
-
Diff: 110 lines (+19/-19)1 file modifiedhtmldocs/authors-charm-writing.html (+19/-19)
description: | updated |
Changed in juju-website: | |
status: | New → Fix Released |
assignee: | nobody → Nick Veitch (evilnick) |
To post a comment you must log in.