diff --git a/etc/ppp/ip-down.local.example b/etc/ppp/ip-down.local.example index 54a5328c..5af3e657 100755 --- a/etc/ppp/ip-down.local.example +++ b/etc/ppp/ip-down.local.example @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash case "$PPP_IPPARAM" in openfortivpn*) diff --git a/etc/ppp/ip-up.local.example b/etc/ppp/ip-up.local.example index 8694aa46..d028b17a 100755 --- a/etc/ppp/ip-up.local.example +++ b/etc/ppp/ip-up.local.example @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash case "$PPP_IPPARAM" in openfortivpn*) diff --git a/tests/lint/astyle.sh b/tests/lint/astyle.sh index 49b7b5e9..efaaf2b9 100755 --- a/tests/lint/astyle.sh +++ b/tests/lint/astyle.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2015 Adrien Vergé # Check that astyle is installed diff --git a/tests/lint/checkpatch.sh b/tests/lint/checkpatch.sh index 4da4c2b8..088af2f0 100755 --- a/tests/lint/checkpatch.sh +++ b/tests/lint/checkpatch.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2020 Dimitri Papadopoulos # Path to checkpatch.pl diff --git a/tests/lint/eol-at-eof.sh b/tests/lint/eol-at-eof.sh index 8458d0bd..7a5da487 100755 --- a/tests/lint/eol-at-eof.sh +++ b/tests/lint/eol-at-eof.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2015 Adrien Vergé rc=0 diff --git a/tests/lint/line_length.py b/tests/lint/line_length.py index 8bbd5e23..2b82b190 100755 --- a/tests/lint/line_length.py +++ b/tests/lint/line_length.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Copyright (c) 2015 Adrien Vergé """Enforce maximum line length in openfortivpn C source code. diff --git a/tests/lint/run.sh b/tests/lint/run.sh index 2ef9bcb5..a76df242 100755 --- a/tests/lint/run.sh +++ b/tests/lint/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2015 Adrien Vergé rc=0