fix: make build script executable and shellcheck-clean
This commit is contained in:
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user