aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFergus Noble2013-05-02 11:32:24 -0700
committerFergus Noble2013-05-02 11:32:24 -0700
commit7c3c9fdea35407ea4690424ca4da1741af79310d (patch)
treeeea2ab83468149ef7c2c0c293f84da7e267c71da
parent56f44c39d9b97aed908128c43c6c08a4b3dfbf72 (diff)
Update python scripts to find user's preferred python binary through env.
-rwxr-xr-xscripts/bootprog.py2
-rw-r--r--scripts/gdb.py2
-rwxr-xr-xscripts/hexprog.py2
-rwxr-xr-xscripts/stm32_mem.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/scripts/bootprog.py b/scripts/bootprog.py
index 01352b9..ab78325 100755
--- a/scripts/bootprog.py
+++ b/scripts/bootprog.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# bootprog.py: STM32 SystemMemory Production Programmer -- version 1.1
# Copyright (C) 2011 Black Sphere Technologies
diff --git a/scripts/gdb.py b/scripts/gdb.py
index 75852b8..ed0b4e2 100644
--- a/scripts/gdb.py
+++ b/scripts/gdb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# gdb.py: Python module for low level GDB protocol implementation
# Copyright (C) 2009 Black Sphere Technologies
diff --git a/scripts/hexprog.py b/scripts/hexprog.py
index 128e55e..ccfb43c 100755
--- a/scripts/hexprog.py
+++ b/scripts/hexprog.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# hexprog.py: Python application to flash a target with an Intel hex file
# Copyright (C) 2011 Black Sphere Technologies
diff --git a/scripts/stm32_mem.py b/scripts/stm32_mem.py
index 10fea9d..9f2e228 100755
--- a/scripts/stm32_mem.py
+++ b/scripts/stm32_mem.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# stm32_mem.py: STM32 memory access using USB DFU class
# Copyright (C) 2011 Black Sphere Technologies