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 7b18fe3 commit ff95f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/arch/x86/archlink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source .config
ldscript="arch/x86/linker_32.ld"
ptrsize=".long"

if [ "$CONFIG_ENABLE_KERNEL_64" == "y" ]; then
if [ "${CONFIG_ENABLE_KERNEL_64:-}" == "y" ]; then
ldscript="arch/x86/linker_64.ld"
ptrsize=".quad"
fi
Expand Down

0 comments on commit ff95f03

Please sign in to comment.