layerscape: add restool package
[oweals/openwrt.git] / package / network / utils / layerscape / restool / patches / 0001-scripts-move-shebang-on-the-first-line.patch
1 From 978f00c0a9f17de9cf17b205a741222084261d3a Mon Sep 17 00:00:00 2001
2 From: Ioana Ciornei <ioana.ciornei@nxp.com>
3 Date: Tue, 24 Oct 2017 16:29:17 +0000
4 Subject: [PATCH 01/12] scripts: move shebang on the first line
5
6 If the shebang is not placed on the first line of the shell script
7 it will be accounted only as a comment.
8
9 Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
10 ---
11  scripts/ls-main | 4 ++--
12  1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/scripts/ls-main b/scripts/ls-main
15 index 588c736..09bef5a 100755
16 --- a/scripts/ls-main
17 +++ b/scripts/ls-main
18 @@ -1,3 +1,5 @@
19 +#!/bin/bash
20 +
21  # Copyright 2013-2016 Freescale Semiconductor Inc.
22  # Copyright 2017 NXP
23  
24 @@ -30,8 +32,6 @@
25  # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26  # POSSIBILITY OF SUCH DAMAGE.
27  
28 -#!/bin/bash
29 -
30  ##     Restool wrapper script
31  #
32  # Prerequisites:
33 -- 
34 2.14.1
35