
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
14 lines
366 B
Bash
Executable File
14 lines
366 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# ``upgrade-swift``
|
|
|
|
function configure_swift_upgrade(){
|
|
# Print the commands being run so that we can see the command that triggers
|
|
# an error. It is also useful for following allowing as the install occurs.
|
|
XTRACE=$(set +o | grep xtrace)
|
|
set -o xtrace
|
|
# nothing to see here yet
|
|
# reset to previous state
|
|
$XTRACE
|
|
}
|