diff options
author | Etienne Champetier <champetier.etienne@gmail.com> | 2019-11-08 06:58:01 -0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-11-09 08:21:45 +0100 |
commit | 799de7c641ffa98323929a20a8d92c7cc4ebb251 (patch) | |
tree | 1f1e09a091ac0ca25adcb0b03c966ddc31f92988 /scripts/portable_date.sh | |
parent | 785d4f3efded4a5094ee8e1ce4535dd0933b956d (diff) | |
download | upstream-799de7c641ffa98323929a20a8d92c7cc4ebb251.tar.gz upstream-799de7c641ffa98323929a20a8d92c7cc4ebb251.tar.bz2 upstream-799de7c641ffa98323929a20a8d92c7cc4ebb251.zip |
build: cleanup possibly dangling Python 3 host symlink
When switching from master branch to 19.07 or older, we need to ensure
that Python symlink in staging bin directory points to Python 2.
We can't rely completly just on SetupHostCommand as its executed only in
cases when the $(STAGING_DIR_HOST)/bin/python doesn't already exist, so
we need to remove it before running SetupHostCommand.
This is a cherry-pick of 3b68fb57c938af3948ae4c2da61501183fbef649
with python3 instead of python2
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Diffstat (limited to 'scripts/portable_date.sh')
0 files changed, 0 insertions, 0 deletions