kevinlu1248 / armbian-build

The Armbian Linux Build Framework under Kreyren's Management
GNU General Public License v2.0
0 stars 0 forks source link

Remove x-hack from shellcheck script #64

Open sweep-nightly[bot] opened 10 months ago

sweep-nightly[bot] commented 10 months ago

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: