grenade/from-havana/upgrade-glance
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

11 lines
173 B
Bash
Executable File

#!/usr/bin/env bash
# ``upgrade-glance``
function configure_glance_upgrade(){
XTRACE=$(set +o | grep xtrace)
set -o xtrace
# nothing to see here
$XTRACE
}