aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/debs/uhd_ubuntu_deb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/debs/uhd_ubuntu_deb.py b/tools/debs/uhd_ubuntu_deb.py
index fb1b988f9..3770b57d2 100644
--- a/tools/debs/uhd_ubuntu_deb.py
+++ b/tools/debs/uhd_ubuntu_deb.py
@@ -11,7 +11,6 @@
# See here for more on pbuilder: https://wiki.ubuntu.com/PbuilderHowto
import argparse
-import glob
import os
import pathlib
import re
@@ -136,8 +135,9 @@ if __name__ == "__main__":
help="Uploads to launchpad. Requires--sign")
parser.add_argument("--nobuild", action='store_true',
help="Disables building using pbuilder")
- parser.add_argument("--buildpath", type=str,
- help="Output path for build files", default="..")
+ parser.add_argument("--buildpath", type=str, required=True,
+ help="Output path for build files. "
+ "Will get nuked before creating packages.")
parser.add_argument("release", type=str,
help="Ubuntu release version. This must match pbuilder create --distribution if building.")
args = parser.parse_args()