This PR replaces the outdated 'x-hack' shell scripting practice with a more modern approach in the specified files. The 'x-hack' was used to ensure compatibility across different shells and systems, but modern shells have evolved to be more reliable, making the 'x-hack' obsolete.
Summary of Changes
Updated lib/functions/artifacts/artifact-armbian-bsp-cli.sh to replace all instances of the 'x-hack' with the modern approach.
Updated lib/functions/artifacts/artifact-firmware.sh to replace all instances of the 'x-hack' with the modern approach.
Updated lib/tools/shellcheck.sh to replace all instances of the 'x-hack' with the modern approach.
Updated packages/blobs/grub/09_linux_with_dtb.sh to replace all instances of the 'x-hack' with the modern approach.
Updated packages/bsp/nanopim4/nanopim4-pwm-fan.sh to replace all instances of the 'x-hack' with the modern approach.
These changes ensure that the codebase uses modern shell scripting practices for better reliability and readability.
Fixes #86.
🎉 Latest improvements to Sweep:
Getting Sweep to run linters before committing! Check out Sweep Sandbox Configs to set it up.
Added support for self-hosting! Check out Self-hosting Sweep to get started.
[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using VECTOR_EMBEDDING_SOURCE
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR replaces the outdated 'x-hack' shell scripting practice with a more modern approach in the specified files. The 'x-hack' was used to ensure compatibility across different shells and systems, but modern shells have evolved to be more reliable, making the 'x-hack' obsolete.
Summary of Changes
lib/functions/artifacts/artifact-armbian-bsp-cli.sh
to replace all instances of the 'x-hack' with the modern approach.lib/functions/artifacts/artifact-firmware.sh
to replace all instances of the 'x-hack' with the modern approach.lib/tools/shellcheck.sh
to replace all instances of the 'x-hack' with the modern approach.packages/blobs/grub/09_linux_with_dtb.sh
to replace all instances of the 'x-hack' with the modern approach.packages/bsp/nanopim4/nanopim4-pwm-fan.sh
to replace all instances of the 'x-hack' with the modern approach.These changes ensure that the codebase uses modern shell scripting practices for better reliability and readability.
Fixes #86.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: