From 1216a5e65aeccc896fc1b8d445422ef1c500df91 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 12 Jun 2016 20:24:10 -0400 Subject: [PATCH] Remove use of dokku binary from tar plugin --- plugins/tar/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tar/functions b/plugins/tar/functions index 10a935ed4..44effc01a 100755 --- a/plugins/tar/functions +++ b/plugins/tar/functions @@ -12,7 +12,7 @@ tar_build_cmd() { [[ $(flock -n "$APP_BUILD_LOCK" true &>/dev/null ; echo $?) -ne 0 ]] && echo "$APP_BUILD_LOCK_MSG" shift 1 - flock -o "$APP_BUILD_LOCK" dokku tar:build-locked "$@" + flock -o "$APP_BUILD_LOCK" tar_build_locked_cmd "tar:build-locked" "$@" } tar_build_locked_cmd() { @@ -56,7 +56,7 @@ tar_from_cmd() { local APP=$2 local URL=$3 shift 3 - curl -# --insecure -L "$URL" | dokku tar:in "$APP" "$@" + curl -# --insecure -L "$URL" | tar_in_cmd "tar:in" "$APP" "$@" } tar_in_cmd() {