This PR replaces the outdated 'x-hack' shell scripting approach with a more modern and reliable approach in the following files:
packages/bsp/nanopim4/nanopim4-pwm-fan.sh
packages/blobs/grub/09_linux_with_dtb.sh
lib/tools/shellcheck.sh
The 'x-hack' was used to ensure compatibility across different shells and systems, but it is now obsolete. The replacement approach uses direct variable comparison without the need for the 'x' prefix.
Summary of Changes
Replaced all instances of the 'x-hack' with a more modern and reliable approach.
Ensured that the replacement does not break the logic of the scripts.
Tested the scripts after the replacement to ensure that they still work as expected.
Please review and merge this PR to improve the codebase and remove the outdated 'x-hack' shell scripting approach.
Fixes #4.
🎉 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 approach with a more modern and reliable approach in the following files:
packages/bsp/nanopim4/nanopim4-pwm-fan.sh
packages/blobs/grub/09_linux_with_dtb.sh
lib/tools/shellcheck.sh
The 'x-hack' was used to ensure compatibility across different shells and systems, but it is now obsolete. The replacement approach uses direct variable comparison without the need for the 'x' prefix.
Summary of Changes
Please review and merge this PR to improve the codebase and remove the outdated 'x-hack' shell scripting approach.
Fixes #4.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: