diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-25 07:47:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-25 08:31:31 +0200 |
commit | 0e179cbc0f79f1eb5fc7533e547d71383a70fb36 (patch) | |
tree | 962e6ea2da87a50466bd4c34fa4bdb5335094adf /bin | |
parent | 22bbefed33c57d5ddbd40992f2ad01e393a0f267 (diff) | |
download | ptxdist-0e179cbc0f79f1eb5fc7533e547d71383a70fb36.tar.gz ptxdist-0e179cbc0f79f1eb5fc7533e547d71383a70fb36.tar.xz |
ptxdist: setup_auto_version: always pick the correct version
Even if -f / --force is used. Otherwise, using --force for non-version
related issues can have unexpected results because the wrong version is
used.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ptxdist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 2e0b8b9dd..25339e1ce 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -2573,7 +2573,7 @@ setup_auto_version() _get_config_ptx PTXDIST_PTXCONFIG="${saved_ptxconfig}" - if check_version "${configfile_version}"; then + if PTXDIST_FORCE= check_version "${configfile_version}"; then # this is already the correct version return fi |