summaryrefslogtreecommitdiffstats
path: root/bin/ptxdist
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-11-07 16:39:04 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-11-07 16:39:10 +0100
commit13aa26e9a4de1aaa0b9c912de1273737c9ec2118 (patch)
tree0300dd6d3f35a51c6b71455494651894fa5d1665 /bin/ptxdist
parentce1770dd8b672cd06ab09cd5e7932a41a3384a6e (diff)
downloadptxdist-13aa26e9a4de1aaa0b9c912de1273737c9ec2118.tar.gz
ptxdist-13aa26e9a4de1aaa0b9c912de1273737c9ec2118.tar.xz
ptxdist: handle --autoversion and non-directory 'base' in the BSPptxdist-2018.11.0
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 <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-xbin/ptxdist3
1 files changed, 3 insertions, 0 deletions
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