aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Johnston <markjdb@gmail.com>2020-02-23 18:55:55 -0500
committerDmitry Vyukov <dvyukov@google.com>2020-02-24 10:18:37 +0100
commit502ca6cde7a3897b576b65117bf798f53e63b8d7 (patch)
treebf3f92520e50c634609d483a15f9b6b43c0014f4
parentd801cb0223da621d7abb7af8b96a848d8976cc9f (diff)
tools: avoid hard-coding the path to interpreters
On BSD they are usually installed under /usr/local/.
-rwxr-xr-xtools/check-copyright.sh2
-rwxr-xr-xtools/check_links.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/check-copyright.sh b/tools/check-copyright.sh
index 776577b7d..7972d2a8f 100755
--- a/tools/check-copyright.sh
+++ b/tools/check-copyright.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright 2020 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
diff --git a/tools/check_links.py b/tools/check_links.py
index cf6530b49..1e8fe9f9e 100755
--- a/tools/check_links.py
+++ b/tools/check_links.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from __future__ import print_function
import os