From 13aa26e9a4de1aaa0b9c912de1273737c9ec2118 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Wed, 7 Nov 2018 16:39:04 +0100 Subject: ptxdist: handle --autoversion and non-directory 'base' in the BSP Pre-layer BSPs may contain a 'base' that is not a layer directory. Ignore it for --autoversion. The next ptxdist will check again if necessary. Signed-off-by: Michael Olbrich --- bin/ptxdist | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/ptxdist') diff --git a/bin/ptxdist b/bin/ptxdist index 782b40c8b..82bb90474 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1343,6 +1343,9 @@ setup_layers() while [ -e "${layer}" -o -h "${layer}" ]; do if [ ! -d "${layer}" ]; then + if [ -n "${PTXDIST_AUTOVERSION}" ]; then + break + fi echo echo "${PTXDIST_LOG_PROMPT}error: Layer '${layer}' is not a directory!" echo -- cgit v1.2.3