Functions defined in outer scope don't propogate.
export -f may be used on a function to make sure that it is passed to the subshell. Change-Id: Ic9562e0426248f2db9b5ad33855e0ec6995688f1 Reviewed-on: https://review.openstack.org/33529 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
ffcf19a546
commit
b5ec6b251d
@ -27,6 +27,7 @@
|
||||
function gate_hook {
|
||||
bash -xe $BASE/new/pbr/tools/integration.sh $PROJECTS $BASE
|
||||
}
|
||||
export -f gate_hook
|
||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||
./safe-devstack-vm-gate-wrap.sh
|
||||
- link-logs
|
||||
|
Loading…
Reference in New Issue
Block a user