scripts: avoid hard-coded paths in scripts
Signed-off-by: Iblis Lin <e196819@hotmail.com>
This commit is contained in:
parent
ec9f6fe04d
commit
d9a0a8c78f
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
#
|
#
|
||||||
# Copyright (C) 2009 Henk Vergonet <Henk.Vergonet@gmail.com>
|
# Copyright (C) 2009 Henk Vergonet <Henk.Vergonet@gmail.com>
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Automated OpenWrt package dependency checker
|
# Automated OpenWrt package dependency checker
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
use Getopt::Std;
|
use Getopt::Std;
|
||||||
use FindBin;
|
use FindBin;
|
||||||
use Cwd;
|
use Cwd;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Licensed under the terms of the GNU GPL License version 2 or later.
|
# Licensed under the terms of the GNU GPL License version 2 or later.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
function usage {
|
function usage {
|
||||||
echo "Usage: prepare_image image_type kernel_image rootfs_image header_size"
|
echo "Usage: prepare_image image_type kernel_image rootfs_image header_size"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
#
|
#
|
||||||
# Script for generating redboot configs, based on brcmImage.pl
|
# Script for generating redboot configs, based on brcmImage.pl
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
Loading…
Reference in New Issue