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' with direct comparison operators #85

Open sweep-nightly[bot] opened 1 year ago

sweep-nightly[bot] commented 1 year ago

Description

This PR replaces the 'x-hack' comparison method with direct comparison operators in the following files:

The 'x-hack' method is used in shell scripting to prevent errors when comparing variables that could be potentially undefined or empty. However, in modern bash scripting, direct comparison operators can handle these cases and are more readable and straightforward.

Summary of Changes

This PR contributes to the resolution of issue #83.

Fixes #83.


🎉 Latest improvements to Sweep:


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