Skip to content

Commit

Permalink
buildtap.py: Fix --clean when no --ti specified
Browse files Browse the repository at this point in the history
When tapinstall source directory is not specified, the
using_prebuilt_tapinstall member of BuildTAPWindows class was not
defined making --clean to fail.

Signed-off-by: Simon Rozman <[email protected]>
  • Loading branch information
rozmansi authored and mattock committed Sep 21, 2020
1 parent a274324 commit 06533c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildtap.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def __init__(self, opt):
self.using_prebuilt_tapinstall = not os.path.isfile(devcon_project_file)
else:
self.top_tapinstall = None
self.using_prebuilt_tapinstall = True
if opt.package:
raise ValueError("parameter -p must be used with --ti")

Expand Down

0 comments on commit 06533c4

Please sign in to comment.