From dea8d4eb080d8f04ecd74a29994c5745b6fa146c Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 23 Sep 2013 21:10:10 -0700 Subject: Allow config.status to take additional arguments --- attoconf/_version.py | 2 +- attoconf/core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/attoconf/_version.py b/attoconf/_version.py index 76c1c3d..2ecaa7d 100644 --- a/attoconf/_version.py +++ b/attoconf/_version.py @@ -11,7 +11,7 @@ minor = 6 # Incremented if there is a bugfix release. # Might not be contiguous. -patch = 1 +patch = 2 # Reserved for distributors and forks. # Contains arbitrary text, but no parentheses or newlines. diff --git a/attoconf/core.py b/attoconf/core.py index 624d578..82c5d8a 100644 --- a/attoconf/core.py +++ b/attoconf/core.py @@ -200,7 +200,7 @@ class Build(object): status.write('old_build_dir = os.path.dirname(sys.argv[0])\n') status.write('configure = os.path.join(old_build_dir, %r, "configure")\n' % self.relative_source()) - status.write('os.execvp(configure, [configure] + %r)\n' + status.write('os.execvp(configure, [configure] + %r + sys.argv[1:])\n' % self._seen_args) def configure(self, args, env): -- cgit v1.2.3-70-g09d2