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 cli functions #35

Open sweep-nightly[bot] opened 1 year ago

sweep-nightly[bot] commented 1 year ago

Description

This PR removes the 'x-hack' from the cli functions in the Armbian Linux Build Framework. The 'x-hack' is a common practice in shell scripting to prevent errors when a variable is unset. However, in modern bash scripting, this is unnecessary and can be replaced with a direct comparison.

Summary of Changes

This change improves the readability and maintainability of the code by removing unnecessary syntax and aligning with modern bash scripting practices.

Fixes #22.


🎉 Latest improvements to Sweep:


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