aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/usrp2_card_burner.py
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-28 22:44:13 -0700
committerJosh Blum <josh@joshknows.com>2011-04-28 22:44:13 -0700
commitf289d03d63b3e8f6009e1635ddcffbb196fb9eba (patch)
tree27308072e0c35c304d604f4eafb4335b2b07c893 /host/utils/usrp2_card_burner.py
parent424462cb99a3c4b12ac8a79ed9bb0670e1426cba (diff)
downloaduhd-f289d03d63b3e8f6009e1635ddcffbb196fb9eba.tar.gz
uhd-f289d03d63b3e8f6009e1635ddcffbb196fb9eba.tar.bz2
uhd-f289d03d63b3e8f6009e1635ddcffbb196fb9eba.zip
usrp2: include dd.exe in windows installers
uhd build system downloads dd.exe from ettus.com so we dont have to check it in
Diffstat (limited to 'host/utils/usrp2_card_burner.py')
-rwxr-xr-xhost/utils/usrp2_card_burner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/utils/usrp2_card_burner.py b/host/utils/usrp2_card_burner.py
index 741c7e3e1..b1335dd6a 100755
--- a/host/utils/usrp2_card_burner.py
+++ b/host/utils/usrp2_card_burner.py
@@ -56,6 +56,8 @@ def command(*args):
def get_dd_path():
if platform.system() == 'Windows':
+ dd_path = os.path.join(os.path.dirname(__file__), 'dd.exe')
+ if os.path.exists(dd_path): return dd_path
dd_path = os.path.join(tempfile.gettempdir(), 'dd.exe')
if not os.path.exists(dd_path):
print('Downloading dd.exe to %s'%dd_path)