diff options
author | Luca Stefani <luca.stefani.ge1@gmail.com> | 2017-01-06 19:39:56 +0100 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2017-01-06 19:39:56 +0100 |
commit | 6b878db1a049a140f688aea4ea18b520ea6bf147 (patch) | |
tree | e0bc54ce312341fb29f3db58644de9270e7e9ff5 | |
parent | 7c60fcf8537e04b934f1f35eb1216ce1edaee5a2 (diff) | |
download | hikey-6b878db1a049a140f688aea4ea18b520ea6bf147.tar.gz |
hikey: Use python from env
* This allow to call the scripts from a virtualenv workspace
targeting a different python version than the one installed
on the system
Change-Id: I756f5510bf46275661331357bc8e6d84b691a186
-rw-r--r-- | installer/hisi-idt.py | 2 | ||||
-rwxr-xr-x | uefi-tools/parse-platforms.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/hisi-idt.py b/installer/hisi-idt.py index 832f81c4..db66ef88 100644 --- a/installer/hisi-idt.py +++ b/installer/hisi-idt.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python #-*- coding: utf-8 -*- import os diff --git a/uefi-tools/parse-platforms.py b/uefi-tools/parse-platforms.py index af440387..5aa42832 100755 --- a/uefi-tools/parse-platforms.py +++ b/uefi-tools/parse-platforms.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys, os, argparse, ConfigParser |