summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-09-23 21:10:10 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-09-23 21:10:10 -0700
commitdea8d4eb080d8f04ecd74a29994c5745b6fa146c (patch)
treeb92a943933e5c469303599f935fc4f0a8c416d38
parentcd3e62f10f4cd85fe74199349c96e7f2f27c4f60 (diff)
downloadattobuild-dea8d4eb080d8f04ecd74a29994c5745b6fa146c.tar.gz
attobuild-dea8d4eb080d8f04ecd74a29994c5745b6fa146c.tar.bz2
attobuild-dea8d4eb080d8f04ecd74a29994c5745b6fa146c.tar.xz
attobuild-dea8d4eb080d8f04ecd74a29994c5745b6fa146c.zip
Allow config.status to take additional arguments
-rw-r--r--attoconf/_version.py2
-rw-r--r--attoconf/core.py2
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):