fix: make build script executable and shellcheck-clean
This commit is contained in:
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