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 modern shell scripting practices #95

Closed sweep-nightly[bot] closed 10 months ago

sweep-nightly[bot] commented 10 months ago

Description

This PR replaces the outdated 'x-hack' shell scripting practice with a more modern and reliable approach. The 'x-hack' was used to ensure compatibility across different shells and systems in the past. However, modern shells have evolved to be more reliable, making this practice obsolete. The 'x-hack' was present in several files in the codebase and has been replaced in this PR.

Summary of Changes

Each instance of the 'x-hack' was replaced with a more modern and reliable approach. For example, [ "x$var" = "xval" ] was replaced with [ "$var" = "val" ].

These changes ensure that the scripts are more readable and maintainable, while still being compatible with modern shells.

Fixes #4.


🎉 Latest improvements to Sweep:


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