From d2fafbdd9e9cf1a5e1a05a254f22c5512b82cb69 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 27 Jun 2017 20:23:30 -0400 Subject: build: Request python2 for all directly executed python binaries Some systems point python to python3 instead of python2 - explicitly request python2 to avoid conflicts. Signed-off-by: Kevin O'Connor --- scripts/avrsim.py | 2 +- scripts/buildcommands.py | 2 +- scripts/checkstack.py | 2 +- scripts/graphstats.py | 2 +- scripts/stepstats.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/avrsim.py b/scripts/avrsim.py index 93272501..afed444e 100755 --- a/scripts/avrsim.py +++ b/scripts/avrsim.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to interact with simulavr by simulating a serial port. # # Copyright (C) 2015 Kevin O'Connor diff --git a/scripts/buildcommands.py b/scripts/buildcommands.py index cb19c475..8e220bad 100644 --- a/scripts/buildcommands.py +++ b/scripts/buildcommands.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to handle build time requests embedded in C code. # # Copyright (C) 2016 Kevin O'Connor diff --git a/scripts/checkstack.py b/scripts/checkstack.py index 060535bd..ed0689ea 100755 --- a/scripts/checkstack.py +++ b/scripts/checkstack.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script that tries to find how much stack space each function in an # object is using. # diff --git a/scripts/graphstats.py b/scripts/graphstats.py index ce191d9b..06abc68f 100755 --- a/scripts/graphstats.py +++ b/scripts/graphstats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to parse a logging file, extract the stats, and graph them # # Copyright (C) 2016 Kevin O'Connor diff --git a/scripts/stepstats.py b/scripts/stepstats.py index 1d77ce0e..161ac5c3 100755 --- a/scripts/stepstats.py +++ b/scripts/stepstats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Script to calculate stats for each stepper from a log of messages # # Copyright (C) 2016 Kevin O'Connor -- cgit v1.2.3-70-g09d2