File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -57,5 +57,5 @@ export WPT_SSH_OPTIONS=
5757export WPT_SSH_PRIVATE_KEY_BASE64=
5858
5959# Output logging
60- # Defaults to 'normal ', use 'verbose' to increase verbosity
61- export WPT_LOGGING =
60+ # Defaults to '', use 'verbose' to increase verbosity
61+ export WPT_DEBUG =
Original file line number Diff line number Diff line change 1515$ WPT_SSH_OPTIONS = getenv ( 'WPT_SSH_OPTIONS ' ) ? : '-o StrictHostKeyChecking=no ' ;
1616$ WPT_TEST_DIR = getenv ( 'WPT_TEST_DIR ' );
1717$ WPT_PHP_EXECUTABLE = getenv ( 'WPT_PHP_EXECUTABLE ' ) ? : 'php ' ;
18- $ WPT_LOGGING = getenv ( 'WPT_LOGGING ' ) ? : 'normal ' ;
18+ $ WPT_DEBUG = getenv ( 'WPT_DEBUG ' ) ? : '' ;
1919
2020// Set the ssh private key if it's set.
2121$ WPT_SSH_PRIVATE_KEY_BASE64 = getenv ( 'WPT_SSH_PRIVATE_KEY_BASE64 ' );
108108if ( ! empty ( $ WPT_SSH_CONNECT ) ) {
109109 $ rsync_options = '-r ' ;
110110
111- if ( 'verbose ' === $ WPT_LOGGING ) {
111+ if ( 'verbose ' === $ WPT_DEBUG ) {
112112 $ rsync_options = $ rsync_options . 'v ' ;
113113 }
114114
Original file line number Diff line number Diff line change 1414$ WPT_PREPARE_DIR = getenv ( 'WPT_PREPARE_DIR ' );
1515$ WPT_SSH_OPTIONS = getenv ( 'WPT_SSH_OPTIONS ' );
1616$ WPT_REPORT_API_KEY = getenv ( 'WPT_REPORT_API_KEY ' );
17- $ WPT_LOGGING = getenv ( 'WPT_LOGGING ' ) ? : 'normal ' ;
17+ $ WPT_DEBUG = getenv ( 'WPT_DEBUG ' ) ? : '' ;
1818
1919log_message ('Getting SVN Revision ' );
2020$ rev = exec ('git --git-dir= ' . escapeshellarg ( $ WPT_PREPARE_DIR ) . '/.git log -1 --pretty=%B | grep "git-svn-id:" | cut -d " " -f 2 | cut -d "@" -f 2 ' );
3131
3232$ rsync_options = '-r ' ;
3333
34- if ( 'verbose ' === $ WPT_LOGGING ) {
34+ if ( 'verbose ' === $ WPT_DEBUG ) {
3535 $ rsync_options = $ rsync_options . 'v ' ;
3636}
3737
You can’t perform that action at this time.
0 commit comments