aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-11-14 15:11:54 -0800
committermichael-west <michael.west@ettus.com>2018-12-17 13:38:02 -0800
commitf64d321c0009d7ed28270bea9ffd097fd10b1676 (patch)
tree814fe32d8f8e2fa1471af0ae990bda2deeed8c83
parentcmake: python: adding RUNTIME_PYTHON_EXECUTABLE (diff)
downloaduhd-f64d321c0009d7ed28270bea9ffd097fd10b1676.tar.xz
uhd-f64d321c0009d7ed28270bea9ffd097fd10b1676.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.
-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
#