Merge lp:~nobuto/charms/precise/memcached/fix-a-typo into lp:charms/memcached

Proposed by Nobuto Murata
Status: Merged
Merged at revision: 51
Proposed branch: lp:~nobuto/charms/precise/memcached/fix-a-typo
Merge into: lp:charms/memcached
Diff against target: 11 lines (+1/-1)
1 file modified
hooks/cache-relation-joined (+1/-1)
To merge this branch: bzr merge lp:~nobuto/charms/precise/memcached/fix-a-typo
Reviewer Review Type Date Requested Status
Clint Byrum (community) Approve
Review via email: mp+125465@code.launchpad.net

Description of the change

hooks/cache-relation-joined gaves an error of sh syntax

$ sh -n hooks/cache-relation-joined
hooks/cache-relation-joined: 7: hooks/cache-relation-joined: Syntax error: Bad for loop variable

my branch fixes the typo.

To post a comment you must log in.
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Great catch, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/cache-relation-joined'
2--- hooks/cache-relation-joined 2012-09-13 18:43:22 +0000
3+++ hooks/cache-relation-joined 2012-09-20 11:50:26 +0000
4@@ -4,6 +4,6 @@
5 else
6 rids=$JUJU_RELATION_ID
7 fi
8-for $rid in $rids ; do
9+for rid in $rids ; do
10 relation-set -r $rid host=`unit-get private-address` port=`config-get tcp-port` udp-port=`config-get udp-port`
11 done

Subscribers

People subscribed via source and target branches

to all changes: