diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-01-25 16:31:33 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-01-25 16:43:28 +0200 |
commit | f3044f9c552b7b40ee22cf52f369d3e67cbdf14d (patch) | |
tree | 3695fe54d0f0c37f428d921ed5423bb2ffd11870 /yarn | |
parent | 4f51af7183116b8ef39eea60833326e079cc8885 (diff) | |
download | cmdtest-f3044f9c552b7b40ee22cf52f369d3e67cbdf14d.tar.gz |
Encode environment variables in UTF-8
This is an arbitary choice, and wrong, if the locale has
something else. I'll fix that some other day.
Diffstat (limited to 'yarn')
-rwxr-xr-x | yarn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -451,7 +451,7 @@ class YarnRunner(cliapp.Application): env['SRCDIR'] = os.getcwd() env['HOME'] = self.homedir(datadir) for i, match in enumerate(m.groups('')): - env['MATCH_%d' % (i+1)] = match + env['MATCH_%d' % (i+1)] = match.encode('utf-8') if self.settings['cd-datadir']: cwd = datadir |