Merge branch '306-build-system-check-file-permissions-of-build-script' into 'master'

Resolve "build-system: check file permissions of build-script"

Closes #306

See merge request Pmodules/src!285
This commit is contained in:
2024-08-09 21:30:06 +02:00
+1 -1
View File
@@ -301,7 +301,7 @@ parse_args() {
;;
* )
local -- arg="$1"
if [[ -r ${arg} ]]; then
if [[ -f "${arg}" && -x "${arg}" ]]; then
BUILD_SCRIPT="$(std::get_abspath "${arg}")"
BUILDBLOCK_DIR=$(dirname "${BUILD_SCRIPT}")
elif [[ "${arg}" == */* ]]; then