grenade/from-havana/upgrade-cinder
Sean Dague c6a3491452 do xtrace in include scripts correctly
the included upgrade scripts were turning off xtrace, not
restoring it like we should have been doing. This makes debugging
many of the upgrade issues very difficult.

fix this with the standard xtrace restore.

Change-Id: I922d139b83644a2584c46fecb51b346b05feeec8
2014-01-16 16:23:06 -05:00

13 lines
238 B
Bash
Executable File

#!/usr/bin/env bash
# ``upgrade-cinder``
function configure_cinder_upgrade(){
XTRACE=$(set +o | grep xtrace)
set -o xtrace
# upgrade rootwrap configs
configure_cinder_rootwrap
# reset to previous state
$XTRACE
}