Don't validate SRC_ARCHIVE if GETPKG=0
This commit is contained in:
parent
d9daa95898
commit
9287cb6bbb
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ inline_doc
|
||||||
# Validate directories, testable states:
|
# Validate directories, testable states:
|
||||||
# fatal -z -d -w,
|
# fatal -z -d -w,
|
||||||
# warning -z+ -w+
|
# warning -z+ -w+
|
||||||
SRC_ARCHIVE) validate_dir -z+ -d -w+ ;;
|
SRC_ARCHIVE) [[ "$GETPKG" = "1" ]] && validate_dir -z+ -d -w+ ;;
|
||||||
BUILDDIR) # The build directory/partition MUST exist and be writable by the user
|
BUILDDIR) # The build directory/partition MUST exist and be writable by the user
|
||||||
validate_dir -z -d -w
|
validate_dir -z -d -w
|
||||||
[[ "xx x/x" =~ "x${!config_param}x" ]] &&
|
[[ "xx x/x" =~ "x${!config_param}x" ]] &&
|
||||||
|
|
Reference in a new issue