fix: make build script executable and shellcheck-clean

This commit is contained in:
2026-08-28 19:32:10 +05:00
parent d3c532c936
commit ff22a9ffea
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -188,6 +188,7 @@ Security note:
```bash ```bash
cd awg2_harness cd awg2_harness
chmod +x ./tools/build.sh
./tools/build.sh --prepare-build-env --bootstrap-rust --yes ./tools/build.sh --prepare-build-env --bootstrap-rust --yes
./tools/build.sh --package ./tools/build.sh --package
(cd dist && sha256sum -c SHA256SUMS) (cd dist && sha256sum -c SHA256SUMS)
Regular → Executable
+1 -1
View File
@@ -305,7 +305,7 @@ validate_package_version() {
echo "Package version must not be empty" echo "Package version must not be empty"
exit 1 exit 1
fi fi
if [[ "$version" == *'/'* || "$version" == *'\'* ]]; then if [[ "$version" == */* || "$version" == *\\* ]]; then
echo "Package version must not contain path separators: $version" echo "Package version must not contain path separators: $version"
exit 1 exit 1
fi fi