Enabled buildbot_steps script to be sourced or ran directly by bash #2
No reviewers
Labels
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Sysdeploy/ipxe_scripts#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "maxweiss/ipxe_scripts:source_fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
8db64f61eb
tof6778dec14