Skip to content

Commit ece0302

Browse files
crazoeslgirdwood
authored andcommitted
Add shebangs
Executable scripts need a shebang to find an interpreter to run the script with. These scripts do not have a shebang and would need to be used as 'bash xtensa-trace.sh' (if executing with any other shell). However, most of the docs and generally people would execute it as './xtensa-trace.sh' which needs shebangs. Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
1 parent 7c8c197 commit ece0302

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

x86-host.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
if [ $# -eq 0 ]
24
then
35
echo "usage: $0 device kernel fs_image.ext4"

x86-modcpy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
# script to copy kernel modules to Poky FS for Qemu
24
# Needs to run under sudo for mount and copy to FS
35

xtensa-host.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/bash
12

23
set -e
34

xtensa-trace.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
# Simple script to trace execution. Can be vastly improved upon.
24
#
35
# Usage.

0 commit comments

Comments
 (0)