summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SConscript b/src/SConscript
index 7db1c9934f..af48307ce1 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -789,8 +789,8 @@ def BuildUbuntuPackage(target, source, env):
if package_target == 'source':
# TODO(rryan) we have to figure out the key-signing situation
# here.
- command.extend(['debuild', '-S', '-sa',
- '--set-envvar=build=' + build.build])
+ # Preserve the MIXXX_BUILD environment variable.
+ command.extend(['debuild', '-eMIXXX_BUILD', '-S', '-sa',])
else:
command.extend(['pdebuild'])
result = os.system(' '.join(command))