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 many years ago, but it is now obsolete as modern shells are more reliable. The changes were made in several scripts in the codebase.
Summary of Changes
Replaced all instances of the 'x-hack' in packages/bsp/nanopim4/nanopim4-pwm-fan.sh.
Replaced all instances of the 'x-hack' in packages/blobs/grub/09_linux_with_dtb.sh.
Replaced all instances of the 'x-hack' in lib/tools/shellcheck.sh.
Replaced all instances of the 'x-hack' in lib/functions/artifacts/artifact-full_firmware.sh.
Replaced all instances of the 'x-hack' in lib/functions/artifacts/artifact-kernel.sh.
All scripts were tested after the changes to ensure that they work as expected.
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 practice with a more modern and reliable approach. The 'x-hack' was used to ensure compatibility across different shells and systems many years ago, but it is now obsolete as modern shells are more reliable. The changes were made in several scripts in the codebase.
Summary of Changes
packages/bsp/nanopim4/nanopim4-pwm-fan.sh
.packages/blobs/grub/09_linux_with_dtb.sh
.lib/tools/shellcheck.sh
.lib/functions/artifacts/artifact-full_firmware.sh
.lib/functions/artifacts/artifact-kernel.sh
.All scripts were tested after the changes to ensure that they work as expected.
Fixes #4.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: