This PR removes the outdated 'x-hack' syntax from the codebase. The 'x-hack' was used to ensure compatibility across different shells and systems, but it is now considered obsolete. The 'x-hack' has been replaced with direct comparisons, resulting in more modern and reliable code.
Summary of Changes
The following files have been modified to remove the 'x-hack':
packages/bsp/nanopim4/nanopim4-pwm-fan.sh
packages/blobs/grub/09_linux_with_dtb.sh
lib/tools/shellcheck.sh
In each file, all instances of the 'x-hack' have been replaced with direct comparisons. This improves the readability and maintainability of the code.
Please review and merge this PR to ensure the codebase is up to date with modern shell scripting practices.
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 removes the outdated 'x-hack' syntax from the codebase. The 'x-hack' was used to ensure compatibility across different shells and systems, but it is now considered obsolete. The 'x-hack' has been replaced with direct comparisons, resulting in more modern and reliable code.
Summary of Changes
The following files have been modified to remove the 'x-hack':
packages/bsp/nanopim4/nanopim4-pwm-fan.sh
packages/blobs/grub/09_linux_with_dtb.sh
lib/tools/shellcheck.sh
In each file, all instances of the 'x-hack' have been replaced with direct comparisons. This improves the readability and maintainability of the code.
Please review and merge this PR to ensure the codebase is up to date with modern shell scripting practices.
Fixes #4.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: