Split the --local-file addition into two patches as requested: 1/2: Refactor — extract fetch_buildtools(), drop shell=True 2/2: Add --local-file option
Changes since v2: - Split into two commits for easier review - Avoid mutating caller-owned file (use /bin/sh instead of chmod) - Remove shell=True from subprocess calls Jaipaul Cheernam (2): install-buildtools: refactor fetch and install logic install-buildtools: add --local-file option scripts/install-buildtools | 123 ++++++++++++++++++++++--------------- 1 file changed, 73 insertions(+), 50 deletions(-) -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#239582): https://lists.openembedded.org/g/openembedded-core/message/239582 Mute This Topic: https://lists.openembedded.org/mt/119977009/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
