aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/debs')
-rw-r--r--tools/debs/uhd_ubuntu_deb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/debs/uhd_ubuntu_deb.py b/tools/debs/uhd_ubuntu_deb.py
index 6adc4c1f9..6739ade99 100644
--- a/tools/debs/uhd_ubuntu_deb.py
+++ b/tools/debs/uhd_ubuntu_deb.py
@@ -111,7 +111,7 @@ def main(args):
print("Building deb with dsc using pbuilder for {}".format(args.release))
os.mkdir(args.buildpath + "/result")
result = subprocess.run(shlex.split(
- "sudo pbuilder build --buildresult ./result uhd_4.0.0.0-0ubuntu1~{}1.dsc".format(args.release)), cwd=args.buildpath)
+ "sudo pbuilder build --buildresult ./result uhd_{}-0ubuntu1~{}1.dsc".format(uhd_version, args.release)), cwd=args.buildpath)
if result.returncode:
print("pbuilder failed")
sys.exit(result.returncode)