mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 01:53:08 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user