diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2018-11-14 15:11:54 -0800 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2018-12-17 13:38:02 -0800 |
commit | f64d321c0009d7ed28270bea9ffd097fd10b1676 (patch) | |
tree | 814fe32d8f8e2fa1471af0ae990bda2deeed8c83 | |
parent | cmake: python: adding RUNTIME_PYTHON_EXECUTABLE (diff) | |
download | uhd-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.in | 2 |
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 # |