scripts: avoid hard-coded paths in scripts

Signed-off-by: Iblis Lin <e196819@hotmail.com>
This commit is contained in:
Iblis Lin 2016-04-28 20:34:13 +08:00 committed by Jo-Philipp Wich
parent ec9f6fe04d
commit d9a0a8c78f
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2009 Henk Vergonet <Henk.Vergonet@gmail.com>
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Automated OpenWrt package dependency checker
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use Getopt::Std;
use FindBin;
use Cwd;

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Licensed under the terms of the GNU GPL License version 2 or later.
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function usage {
echo "Usage: prepare_image image_type kernel_image rootfs_image header_size"

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Script for generating redboot configs, based on brcmImage.pl
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;