diff --git a/scripts/brcmImage.pl b/scripts/brcmImage.pl index 265c1744bfd..aab86d6d912 100755 --- a/scripts/brcmImage.pl +++ b/scripts/brcmImage.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Copyright (C) 2009 Henk Vergonet # diff --git a/scripts/deptest.sh b/scripts/deptest.sh index 047a0ce4d44..03da9f568e7 100755 --- a/scripts/deptest.sh +++ b/scripts/deptest.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Automated OpenWrt package dependency checker # diff --git a/scripts/feeds b/scripts/feeds index 79b5284e9ef..2b88eb81933 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use Getopt::Std; use FindBin; use Cwd; diff --git a/scripts/mkits.sh b/scripts/mkits.sh index 6b5100e1a2a..8857996eba2 100755 --- a/scripts/mkits.sh +++ b/scripts/mkits.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Licensed under the terms of the GNU GPL License version 2 or later. # diff --git a/scripts/pad_image b/scripts/pad_image index 14f1499076e..b1941a28d8d 100755 --- a/scripts/pad_image +++ b/scripts/pad_image @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function usage { echo "Usage: prepare_image image_type kernel_image rootfs_image header_size" diff --git a/scripts/redboot-script.pl b/scripts/redboot-script.pl index 123ebe32a3e..e2d12647057 100755 --- a/scripts/redboot-script.pl +++ b/scripts/redboot-script.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Script for generating redboot configs, based on brcmImage.pl # diff --git a/scripts/remote-gdb b/scripts/remote-gdb index cd59033e7a5..52306639fcb 100755 --- a/scripts/remote-gdb +++ b/scripts/remote-gdb @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings;