##// END OF EJS Templates
convert: detect baz before tla...
Patrick Mezard -
r6083:81a86673 default
parent child Browse files
Show More
@@ -27,12 +27,12 b' class gnuarch_source(converter_source, c'
27
27
28 # Could use checktool, but we want to check for baz or tla.
28 # Could use checktool, but we want to check for baz or tla.
29 self.execmd = None
29 self.execmd = None
30 if util.find_exe('baz'):
31 self.execmd = 'baz'
32 else:
30 if util.find_exe('tla'):
33 if util.find_exe('tla'):
31 self.execmd = 'tla'
34 self.execmd = 'tla'
32 else:
35 else:
33 if util.find_exe('baz'):
34 self.execmd = 'baz'
35 else:
36 raise util.Abort(_('cannot find a GNU Arch tool'))
36 raise util.Abort(_('cannot find a GNU Arch tool'))
37
37
38 commandline.__init__(self, ui, self.execmd)
38 commandline.__init__(self, ui, self.execmd)
General Comments 0
You need to be logged in to leave comments. Login now