From 502ca6cde7a3897b576b65117bf798f53e63b8d7 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sun, 23 Feb 2020 18:55:55 -0500 Subject: tools: avoid hard-coding the path to interpreters On BSD they are usually installed under /usr/local/. --- tools/check-copyright.sh | 2 +- tools/check_links.py | 2 +- 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 -- cgit mrf-deployment