summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-09-16 11:00:30 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-09-16 11:00:30 +0200
commita30ef4c29da694f5e906e53c106d5674a6d7750b (patch)
tree89df6ecb60f79a15f776bf02ee2cb99a7eeaef40 /bin
parente3cc3f5f820b370e0818f378920d5839968201b6 (diff)
downloadptxdist-a30ef4c29da694f5e906e53c106d5674a6d7750b.tar.gz
ptxdist-a30ef4c29da694f5e906e53c106d5674a6d7750b.tar.xz
ptxdist: fix 'select' with auto-version
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ptxdist4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index df08850e2..f823ebed9 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -2336,6 +2336,10 @@ setup_auto_version()
if [ -z "${PTXDIST_AUTOVERSION}" ]; then
return
fi
+ if [ ! -e "${PTXDIST_PTXCONFIG}" ]; then
+ # no config yet, so this is either 'select' or fails later anyways
+ return
+ fi
_get_config_ptx
if ! check_version "${configfile_version}"; then