From 2bb17bc90cf666329f400e94c5e068d56291859d Mon Sep 17 00:00:00 2001 From: Zachary Rollyson Date: Wed, 26 Jun 2024 22:39:37 -0400 Subject: [PATCH] Add some newlines to the printf's in run.sh --- runner/cf-driver/run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runner/cf-driver/run.sh b/runner/cf-driver/run.sh index 6524742..d5fb925 100755 --- a/runner/cf-driver/run.sh +++ b/runner/cf-driver/run.sh @@ -5,14 +5,14 @@ currentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" source "${currentDir}/base.sh" -printf "[cf-driver] Using SSH to connect to %s and run steps" "$CONTAINER_ID" +printf "[cf-driver] Using SSH to connect to %s and run steps\n" "$CONTAINER_ID" if [ -n "${RUNNER_DEBUG-}" ] && [ "$RUNNER_DEBUG" == "true" ]; then # DANGER: There may be sensitive information in this output. # Generated job logs should be removed after this is used. - printf "[cf-driver] RUNNER_DEBUG: About to run the following:\n======" + printf "[cf-driver] RUNNER_DEBUG: About to run the following:\n=========\n" cat "$1" - printf "=========[cf-driver] RUNNER_DEBUG: End command display" + printf "\n=========\n[cf-driver] RUNNER_DEBUG: End command display\n" fi if ! cf ssh "$CONTAINER_ID" < "${1}"; then @@ -21,4 +21,4 @@ if ! cf ssh "$CONTAINER_ID" < "${1}"; then exit "$BUILD_FAILURE_EXIT_CODE" fi -printf "[cf-driver] Completed SSH session with %s to run steps" "$CONTAINER_ID" +printf "[cf-driver] Completed SSH session with %s to run steps\n" "$CONTAINER_ID"