diff options
author | Iblis Lin <e196819@hotmail.com> | 2016-04-28 20:34:13 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-04-28 16:43:28 +0200 |
commit | d9a0a8c78f9ac42f7976aeb4152094213a4d8381 (patch) | |
tree | 21eb2e0b8792b53ff01b61f1841f25ea6623b100 | |
parent | ec9f6fe04daff20c1d79a22861c88cdad5c8f697 (diff) | |
download | upstream-d9a0a8c78f9ac42f7976aeb4152094213a4d8381.tar.gz upstream-d9a0a8c78f9ac42f7976aeb4152094213a4d8381.tar.bz2 upstream-d9a0a8c78f9ac42f7976aeb4152094213a4d8381.zip |
scripts: avoid hard-coded paths in scripts
Signed-off-by: Iblis Lin <e196819@hotmail.com>
-rwxr-xr-x | scripts/brcmImage.pl | 2 | ||||
-rwxr-xr-x | scripts/deptest.sh | 2 | ||||
-rwxr-xr-x | scripts/feeds | 2 | ||||
-rwxr-xr-x | scripts/mkits.sh | 2 | ||||
-rwxr-xr-x | scripts/pad_image | 2 | ||||
-rwxr-xr-x | scripts/redboot-script.pl | 2 | ||||
-rwxr-xr-x | scripts/remote-gdb | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/scripts/brcmImage.pl b/scripts/brcmImage.pl index 265c1744bf..aab86d6d91 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 <Henk.Vergonet@gmail.com> # diff --git a/scripts/deptest.sh b/scripts/deptest.sh index 047a0ce4d4..03da9f568e 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 79b5284e9e..2b88eb8193 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 6b5100e1a2..8857996eba 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 14f1499076..b1941a28d8 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 123ebe32a3..e2d1264705 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 cd59033e7a..52306639fc 100755 --- a/scripts/remote-gdb +++ b/scripts/remote-gdb @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; |