refactor: move temp directory to git data directory

This commit is contained in:
Jose Diaz-Gonzalez
2021-01-07 05:05:27 -05:00
parent df4dbe5d88
commit f87525d8cf
2 changed files with 4 additions and 1 deletions

View File

@@ -189,7 +189,7 @@ EOF
fn-git-clone() {
declare desc="creates an app from remote git repo"
declare APP="$1" GIT_REMOTE="$2" GIT_REF="$2"
local APP_CLONE_ROOT="$PLUGIN_DATA_ROOT/$APP"
local APP_CLONE_ROOT="$DOKKU_LIB_ROOT/data/git/$APP"
local APP_ROOT="$DOKKU_ROOT/$APP"
[[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on"