~harlowja/cloud-init/group-dict-fix

Viewing all changes in revision 702.

  • Committer: Scott Moser
  • Date: 2012-11-08 14:35:36 UTC
  • mfrom: (701.1.3 trunk.zsh)
  • Revision ID: smoser@ubuntu.com-20121108143536-ql5zjw78jwgyhih9
improve zsh support in tools/Z99-cloud-locale-test.sh

This change does 3 things:
 * revert the fix from revno 697
 * minor clean up some local variable usage and definition
 * make Z99-cloud-locale-test.sh actually work when shell is zsh

the last is done by detecting if this is zsh, and if so, changing the zsh
behavior for this function to emulate sh.  As a result of the '-L' in 
'emulate -L sh', we have no negative affect on the user's shell.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: