summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2020-02-08 03:38:48 -0500
committerMike Frysinger <vapier@google.com>2020-02-10 23:30:58 -0500
commita06ab7d28b224d3400742f5e8c66f6e0e930d8ff (patch)
tree0af38382494d5fd26f8f0c340a562e1055551c9a
parent471a7ed5f77ac6b38fc9ef60d9fff2c9924a2df8 (diff)
downloadgit-repo-a06ab7d28b224d3400742f5e8c66f6e0e930d8ff.tar.gz
find python via env
This allows these scripts to run through the active version of the virtualenv python when invoked via tox. Change-Id: Ib52f475b7b20c34d62cfd179a1341da1a08a8b5c Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253974 Reviewed-by: David Pursehouse <dpursehouse@collab.net> Tested-by: Mike Frysinger <vapier@google.com> (cherry picked from commit 1b117db767804856a310210c012fdd40addae66a)
-rwxr-xr-xrun_tests2
-rwxr-xr-xsetup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/run_tests b/run_tests
index 1b35aded..d7144b3c 100755
--- a/run_tests
+++ b/run_tests
@@ -1,4 +1,4 @@
1#!/usr/bin/python 1#!/usr/bin/env python
2# -*- coding:utf-8 -*- 2# -*- coding:utf-8 -*-
3# Copyright 2019 The Android Open Source Project 3# Copyright 2019 The Android Open Source Project
4# 4#
diff --git a/setup.py b/setup.py
index e48aa303..f4d7728d 100755
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
1#!/usr/bin/python 1#!/usr/bin/env python
2# -*- coding:utf-8 -*- 2# -*- coding:utf-8 -*-
3# Copyright 2019 The Android Open Source Project 3# Copyright 2019 The Android Open Source Project
4# 4#