kevinlu1248 / armbian-build

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

Remove 'x-hack' from grub and bsp packages #32

Open sweep-nightly[bot] opened 11 months ago

sweep-nightly[bot] commented 11 months ago

Description

This PR removes the usage of 'x-hack' in the grub and bsp packages of the armbian-build repository. The 'x-hack' is a common practice in shell scripting for string comparison to avoid syntax errors when one of the variables is empty or unset. However, it is not necessary when using the double bracket conditional construct [[ ]], which can handle empty variables. The 'x-hack' comparisons have been replaced with direct comparisons using double brackets [[ ]].

Summary of Changes

Please review the changes and merge this PR if it meets the requirements. Thank you!

Fixes #19.


šŸŽ‰ Latest improvements to Sweep:


šŸ’” To get Sweep to edit this pull request, you can: