mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
build-system: check whether the argument is the build-script fixed
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