aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_images_downloader.py.in
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-11-14 15:11:54 -0800
committerMartin Braun <martin.braun@ettus.com>2018-11-26 18:00:30 -0800
commit0b93b32b60fa37e8dfb4638a6f781ffca93df0ad (patch)
treed6712ac94c441136f4efc5cf0e357ca8ed0c3597 /host/utils/uhd_images_downloader.py.in
parent14c1a82365e13fd4b8744da8a92997c012d93c23 (diff)
downloaduhd-0b93b32b60fa37e8dfb4638a6f781ffca93df0ad.tar.gz
uhd-0b93b32b60fa37e8dfb4638a6f781ffca93df0ad.tar.bz2
uhd-0b93b32b60fa37e8dfb4638a6f781ffca93df0ad.zip
utils: specify the downloader's Python executable
Change the uhd_images_downloader's first line to execute with a runtime Python interpreter, as determined at UHD build time. Users can still use an arbitrary Python executable by calling `python uhd_images_downloader` This will fix our embedded products by ensuring that we call Python3 when running uhd_images_downloader in embedded mode.
Diffstat (limited to 'host/utils/uhd_images_downloader.py.in')
-rw-r--r--host/utils/uhd_images_downloader.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/uhd_images_downloader.py.in b/host/utils/uhd_images_downloader.py.in
index fc1d3f979..e569694d4 100644
--- a/host/utils/uhd_images_downloader.py.in
+++ b/host/utils/uhd_images_downloader.py.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!@RUNTIME_PYTHON_EXECUTABLE@
#
# Copyright 2018 Ettus Research, a National Instruments Company
#