Mercurial > bitten > bitten-test
comparison bitten/build/ctools.py @ 909:2c82cf261d9e
Typo in `ctools.configure` handling of `prefix` argument.
Fixes #671, thanks to Wang Diancheng.
author | osimons |
---|---|
date | Mon, 09 May 2011 21:26:52 +0000 |
parents | 7c80375d4817 |
children |
comparison
equal
deleted
inserted
replaced
907:16972cef96bf | 909:2c82cf261d9e |
---|---|
59 if cflags: | 59 if cflags: |
60 args.append('CFLAGS=%s' % cflags) | 60 args.append('CFLAGS=%s' % cflags) |
61 if cxxflags: | 61 if cxxflags: |
62 args.append('CXXFLAGS=%s' % cxxflags) | 62 args.append('CXXFLAGS=%s' % cxxflags) |
63 if prefix: | 63 if prefix: |
64 args.append('--prefix=%ss' % prefix) | 64 args.append('--prefix=%s' % prefix) |
65 | 65 |
66 from bitten.build import shtools | 66 from bitten.build import shtools |
67 returncode = shtools.execute(ctxt, file_=file_, args=args) | 67 returncode = shtools.execute(ctxt, file_=file_, args=args) |
68 if returncode != 0: | 68 if returncode != 0: |
69 ctxt.error('configure failed (%s)' % returncode) | 69 ctxt.error('configure failed (%s)' % returncode) |