This PR removes the 'x-hack' from the shellcheck.sh script in the lib/tools directory. The 'x-hack' is an old approach to make a script executable by adding 'x' to the file permissions. However, this is not a reliable way to ensure a script is executable, especially in a version-controlled environment like Git. Instead, this PR replaces the 'x-hack' with a more modern approach of explicitly setting the file permissions to make the script executable using the 'chmod' command with the '755' argument.
Summary of Changes
Replaced the line 'chmod +x "${SHELLCHECK_BIN}"' with 'chmod 755 "${SHELLCHECK_BIN}"' in the shellcheck.sh script.
This change ensures that the shellcheck.sh script is executable in a reliable and consistent manner.
Fixes #62.
🎉 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 'x-hack' from the shellcheck.sh script in the lib/tools directory. The 'x-hack' is an old approach to make a script executable by adding 'x' to the file permissions. However, this is not a reliable way to ensure a script is executable, especially in a version-controlled environment like Git. Instead, this PR replaces the 'x-hack' with a more modern approach of explicitly setting the file permissions to make the script executable using the 'chmod' command with the '755' argument.
Summary of Changes
Fixes #62.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: