From 0b93b32b60fa37e8dfb4638a6f781ffca93df0ad Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Wed, 14 Nov 2018 15:11:54 -0800 Subject: 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. --- host/utils/uhd_images_downloader.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') 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 # -- cgit v1.2.3