This PR replaces the 'x-hack' approach in the scripts packages/blobs/grub/09_linux_with_dtb.sh and packages/bsp/nanopim4/nanopim4-pwm-fan.sh with a modern approach. The 'x-hack' approach is an old way of handling certain conditions in bash scripts and is not considered a good practice anymore. The modern approach uses more readable and maintainable code structures.
Summary of Changes
In packages/blobs/grub/09_linux_with_dtb.sh, replaced all instances of 'x-hack' with the modern approach.
In packages/bsp/nanopim4/nanopim4-pwm-fan.sh, replaced all instances of 'x-hack' with the modern approach.
Tested the scripts to ensure they still work as expected.
Fixes #69.
🎉 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 'x-hack' approach in the scripts
packages/blobs/grub/09_linux_with_dtb.sh
andpackages/bsp/nanopim4/nanopim4-pwm-fan.sh
with a modern approach. The 'x-hack' approach is an old way of handling certain conditions in bash scripts and is not considered a good practice anymore. The modern approach uses more readable and maintainable code structures.Summary of Changes
packages/blobs/grub/09_linux_with_dtb.sh
, replaced all instances of 'x-hack' with the modern approach.packages/bsp/nanopim4/nanopim4-pwm-fan.sh
, replaced all instances of 'x-hack' with the modern approach.Fixes #69.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: