commit | 6b878db1a049a140f688aea4ea18b520ea6bf147 | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Fri Jan 06 19:39:56 2017 +0100 |
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | Fri Jan 06 19:39:56 2017 +0100 |
tree | e0bc54ce312341fb29f3db58644de9270e7e9ff5 | |
parent | 7c60fcf8537e04b934f1f35eb1216ce1edaee5a2 [diff] |
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
diff --git a/installer/hisi-idt.py b/installer/hisi-idt.py index 832f81c..db66ef8 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 af44038..5aa4283 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