From e1d1135ef1ea5eb06539d90e8b9c290e0830e592 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 19 Feb 2018 14:45:09 -0500 Subject: [PATCH] fix: ensure the tar plugin also has the ansi sed call --- plugins/tar/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tar/functions b/plugins/tar/functions index f90d879f5..c7b178f31 100755 --- a/plugins/tar/functions +++ b/plugins/tar/functions @@ -24,7 +24,7 @@ tar_build() { tar -x -C "$TAR_BUILD_TMP_WORK_DIR" -f "$DOKKU_ROOT/$APP/src.tar" --strip-components="$BOGUS_PARTS" chmod -R u+r "$TAR_BUILD_TMP_WORK_DIR" - plugn trigger post-extract "$APP" "$TAR_BUILD_TMP_WORK_DIR" + plugn trigger post-extract "$APP" "$TAR_BUILD_TMP_WORK_DIR" | sed -u "s/^/"$'\e[1G'"/" if [[ -f Dockerfile ]] && [[ "$([[ -f .env ]] && grep -q BUILDPACK_URL .env; echo $?)" != "0" ]] && [[ ! -f ".buildpacks" ]] && [[ -z $(config_get "$APP" BUILDPACK_URL || true) ]]; then plugn trigger pre-receive-app "$APP" "dockerfile" "$TAR_BUILD_TMP_WORK_DIR"