fix: make build script executable and shellcheck-clean
This commit is contained in:
@@ -188,6 +188,7 @@ Security note:
|
||||
|
||||
```bash
|
||||
cd awg2_harness
|
||||
chmod +x ./tools/build.sh
|
||||
./tools/build.sh --prepare-build-env --bootstrap-rust --yes
|
||||
./tools/build.sh --package
|
||||
(cd dist && sha256sum -c SHA256SUMS)
|
||||
|
||||
Regular → Executable
+1
-1
@@ -305,7 +305,7 @@ validate_package_version() {
|
||||
echo "Package version must not be empty"
|
||||
exit 1
|
||||
fi
|
||||
if [[ "$version" == *'/'* || "$version" == *'\'* ]]; then
|
||||
if [[ "$version" == */* || "$version" == *\\* ]]; then
|
||||
echo "Package version must not contain path separators: $version"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user