Răsfoiți Sursa

scripts: avoid hard-coded paths in scripts

Signed-off-by: Iblis Lin <[email protected]>
Iblis Lin 9 ani în urmă
părinte
comite
d9a0a8c78f
7 a modificat fișierele cu 7 adăugiri și 7 ștergeri
  1. 1 1
      scripts/brcmImage.pl
  2. 1 1
      scripts/deptest.sh
  3. 1 1
      scripts/feeds
  4. 1 1
      scripts/mkits.sh
  5. 1 1
      scripts/pad_image
  6. 1 1
      scripts/redboot-script.pl
  7. 1 1
      scripts/remote-gdb

+ 1 - 1
scripts/brcmImage.pl

@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 #    Copyright (C) 2009	Henk Vergonet <[email protected]>
 #

+ 1 - 1
scripts/deptest.sh

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

+ 1 - 1
scripts/feeds

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

+ 1 - 1
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.
 #

+ 1 - 1
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"

+ 1 - 1
scripts/redboot-script.pl

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

+ 1 - 1
scripts/remote-gdb

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