about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-07-21 12:04:30 +0100
committerDan Liew <delcypher@gmail.com>2017-07-24 21:40:29 +0100
commit6b94e7721e12cf5d99722278adf2ba9c0bbde995 (patch)
tree30b25012890642899746945d01fa375bd3698fc3
parent61033f73fe70ae67d1293fc85f2668aff59d04e0 (diff)
downloadklee-6b94e7721e12cf5d99722278adf2ba9c0bbde995.tar.gz
more portable shebangs
This is useful on systems like NixOS, where python3 is not in
/usr/bin/python3 as well as for people using alternative ways to
install python such as virtualenv/pyenv.

Some scripts where already using '/usr/bin/env'. With this pull request
it gets more consistent. For background information see also:
https://github.com/systemd/systemd/pull/5816
-rwxr-xr-xscripts/IStatsMerge.py2
-rwxr-xr-xscripts/IStatsSum.py2
-rwxr-xr-x[-rw-r--r--]scripts/coverageServer.py2
-rwxr-xr-xscripts/genTempFiles.sh2
-rwxr-xr-xscripts/klee-control2
-rwxr-xr-xscripts/objdump2
-rwxr-xr-xtest/Concrete/ConcreteTest.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/scripts/IStatsMerge.py b/scripts/IStatsMerge.py
index ae87033f..9ba43981 100755
--- a/scripts/IStatsMerge.py
+++ b/scripts/IStatsMerge.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # ===-- IStatsMerge.py ----------------------------------------------------===##
 # 
diff --git a/scripts/IStatsSum.py b/scripts/IStatsSum.py
index 0546e895..78e694c1 100755
--- a/scripts/IStatsSum.py
+++ b/scripts/IStatsSum.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # ===-- IStatsSum.py ------------------------------------------------------===##
 # 
diff --git a/scripts/coverageServer.py b/scripts/coverageServer.py
index 841b8e5e..9be8c26d 100644..100755
--- a/scripts/coverageServer.py
+++ b/scripts/coverageServer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # ===-- coverageServer.py -------------------------------------------------===##
 # 
diff --git a/scripts/genTempFiles.sh b/scripts/genTempFiles.sh
index fa6e435f..a3ffac4d 100755
--- a/scripts/genTempFiles.sh
+++ b/scripts/genTempFiles.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # ===-- genTempFiles.sh ---------------------------------------------------===##
 # 
diff --git a/scripts/klee-control b/scripts/klee-control
index 2f111524..0a918b42 100755
--- a/scripts/klee-control
+++ b/scripts/klee-control
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # ===-- klee-control ------------------------------------------------------===##
 # 
diff --git a/scripts/objdump b/scripts/objdump
index 3090d383..30f5893b 100755
--- a/scripts/objdump
+++ b/scripts/objdump
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # ===-- objdump -----------------------------------------------------------===##
 # 
diff --git a/test/Concrete/ConcreteTest.py b/test/Concrete/ConcreteTest.py
index 66d18c83..57ea77d2 100755
--- a/test/Concrete/ConcreteTest.py
+++ b/test/Concrete/ConcreteTest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 from __future__ import print_function
 import argparse