This PR replaces the outdated 'x-hack' practice in shell scripts with a more modern and reliable approach. The 'x-hack' was used to ensure compatibility across different shells and systems in the past. However, modern shells have evolved to be more reliable, making this practice obsolete.
The changes were made in the following files:
lib/functions/artifacts/artifacts-obtain.sh
lib/functions/cli/cli-flash.sh
lib/functions/cli/utils-cli.sh
lib/functions/compilation/kernel-debs.sh
In each file, instances of x$var were replaced with "$var".
Summary of Changes
Replaced 'x-hack' in shell scripts with modern approach.
Ensured that the changes do not break the existing functionality of the scripts.
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' practice in shell scripts with a more modern and reliable approach. The 'x-hack' was used to ensure compatibility across different shells and systems in the past. However, modern shells have evolved to be more reliable, making this practice obsolete.
The changes were made in the following files:
In each file, instances of
x$var
were replaced with"$var"
.Summary of Changes
Fixes #4.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: