Skip to content

Commit

Permalink
detect unbound variables in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
theverygaming committed Feb 8, 2025
1 parent 440bd76 commit 7b18fe3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion boot/createimg-aarch64.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$parent_path"
Expand Down
2 changes: 1 addition & 1 deletion boot/createimg-x86_32.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$parent_path"
Expand Down
2 changes: 1 addition & 1 deletion boot/createimg-x86_64.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$parent_path"
Expand Down
2 changes: 1 addition & 1 deletion kernel/arch/aarch64/archlink.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -e
set -eu

${INT_LD} ${INT_LDFLAGS} -T arch/aarch64/linker.ld kernel_partial.o -o kernel.o
2 changes: 1 addition & 1 deletion kernel/arch/m68k/archlink.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

source .config

Expand Down
2 changes: 1 addition & 1 deletion kernel/arch/x86/archlink.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

source .config

Expand Down
2 changes: 1 addition & 1 deletion kernel/arch/xtensa/archlink.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

${INT_LD} ${INT_LDFLAGS} -T arch/xtensa/linker.ld kernel_partial.o -o kernel.o
${INT_NM} --format=bsd -n kernel.o | python3 scripts/gensyms.py .long > symtab.S
Expand Down

0 comments on commit 7b18fe3

Please sign in to comment.