kevinlu1248 / armbian-build

The Armbian Linux Build Framework under Kreyren's Management
GNU General Public License v2.0
0 stars 0 forks source link

Replace x-hack in grub and nanopim4 scripts #68

Open sweep-nightly[bot] opened 10 months ago

sweep-nightly[bot] commented 10 months ago

Description

This PR replaces all instances of the 'x-hack' in the nanopim4-pwm-fan.sh and 09_linux_with_dtb.sh scripts with the appropriate comparison operators. The 'x-hack' is used in bash and POSIX shell scripts for string comparison to avoid errors when one of the variables is empty or unset. However, it is not necessary if we ensure that the variables being compared are quoted correctly. The '==' operator is used for comparison in bash, and the '=' operator is used in POSIX shell.

Summary of Changes

Fixes #65.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can: