summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-05 13:37:45 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-05 17:32:02 +0100
commit079bbfd447c8534e464ce5d40b80114c2022ebf4 (patch)
treedbc71937316a2a94a84251107ab0511bbc04bd34 /morph
parent2386cfa1527524d4a126e811b6013aafd85e317c (diff)
downloadmorph-079bbfd447c8534e464ce5d40b80114c2022ebf4.tar.gz
morph: convert ccache-remotenlevels to a string
env needs to be a dict of string: string, so ccache-remotenlevels must be converted to a string when it is put in env.
Diffstat (limited to 'morph')
-rwxr-xr-xmorph3
1 files changed, 2 insertions, 1 deletions
diff --git a/morph b/morph
index 29e66877..316ebc21 100755
--- a/morph
+++ b/morph
@@ -713,7 +713,8 @@ class Morph(cliapp.Application):
)
if self.settings['ccache-remotedir'] != '':
env['CCACHE_REMOTEDIR'] = self.settings['ccache-remotedir']
- env['CCACHE_REMOTENLEVELS'] = self.settings['ccache-remotenlevels']
+ env['CCACHE_REMOTENLEVELS'] = \
+ str(self.settings['ccache-remotenlevels'])
if not self.settings['no-distcc']:
env['CCACHE_PREFIX'] = 'distcc'