Enabled buildbot_steps script to be sourced or ran directly by bash #2

Manually merged
maxweiss merged 1 commits from maxweiss/ipxe_scripts:source_fix into master 2021-04-29 19:53:48 +00:00
Contributor

This change allows the script to be sourced without running any code, but if it is run as a script, it then executes the function (and function args) bashed on the arguments provided when the script is run.

This only works with bash however, and may not work in other shells.

This change allows the script to be sourced without running any code, but if it is run as a script, it then executes the function (and function args) bashed on the arguments provided when the script is run. This only works with bash however, and may not work in other shells.
maxweiss added 1 commit 2021-04-29 05:17:00 +00:00
maxweiss requested review from PeterSurda 2021-04-29 05:17:09 +00:00
maxweiss force-pushed source_fix from 8db64f61eb to f6778dec14 2021-04-29 05:58:12 +00:00 Compare
PeterSurda approved these changes 2021-04-29 19:46:59 +00:00
maxweiss manually merged commit d014b6acfa into master 2021-04-29 19:53:48 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/ipxe_scripts#2
No description provided.