Author: blogic
Date: 2016-04-29 13:34:48 +0200 (Fri, 29 Apr 2016)
New Revision: 49267

Modified:
   trunk/scripts/brcmImage.pl
   trunk/scripts/deptest.sh
   trunk/scripts/feeds
   trunk/scripts/mkits.sh
   trunk/scripts/pad_image
   trunk/scripts/redboot-script.pl
   trunk/scripts/remote-gdb
Log:
scripts: avoid hard-coded paths in scripts

Signed-off-by: Iblis Lin <[email protected]>

Modified: trunk/scripts/brcmImage.pl
===================================================================
--- trunk/scripts/brcmImage.pl  2016-04-29 11:34:44 UTC (rev 49266)
+++ trunk/scripts/brcmImage.pl  2016-04-29 11:34:48 UTC (rev 49267)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 #    Copyright (C) 2009        Henk Vergonet <[email protected]>
 #

Modified: trunk/scripts/deptest.sh
===================================================================
--- trunk/scripts/deptest.sh    2016-04-29 11:34:44 UTC (rev 49266)
+++ trunk/scripts/deptest.sh    2016-04-29 11:34:48 UTC (rev 49267)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Automated OpenWrt package dependency checker
 #

Modified: trunk/scripts/feeds
===================================================================
--- trunk/scripts/feeds 2016-04-29 11:34:44 UTC (rev 49266)
+++ trunk/scripts/feeds 2016-04-29 11:34:48 UTC (rev 49267)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 use Getopt::Std;
 use FindBin;
 use Cwd;

Modified: trunk/scripts/mkits.sh
===================================================================
--- trunk/scripts/mkits.sh      2016-04-29 11:34:44 UTC (rev 49266)
+++ trunk/scripts/mkits.sh      2016-04-29 11:34:48 UTC (rev 49267)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Licensed under the terms of the GNU GPL License version 2 or later.
 #

Modified: trunk/scripts/pad_image
===================================================================
--- trunk/scripts/pad_image     2016-04-29 11:34:44 UTC (rev 49266)
+++ trunk/scripts/pad_image     2016-04-29 11:34:48 UTC (rev 49267)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 function usage {
   echo "Usage: prepare_image image_type kernel_image rootfs_image header_size"

Modified: trunk/scripts/redboot-script.pl
===================================================================
--- trunk/scripts/redboot-script.pl     2016-04-29 11:34:44 UTC (rev 49266)
+++ trunk/scripts/redboot-script.pl     2016-04-29 11:34:48 UTC (rev 49267)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 # Script for generating redboot configs, based on brcmImage.pl
 #

Modified: trunk/scripts/remote-gdb
===================================================================
--- trunk/scripts/remote-gdb    2016-04-29 11:34:44 UTC (rev 49266)
+++ trunk/scripts/remote-gdb    2016-04-29 11:34:48 UTC (rev 49267)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 use strict;
 use warnings;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to