Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bamboo compatbility

  • Loading branch information...
commit 642c0ff00bc2f102cfdb0779584da4f2fbe1c8ee 1 parent a79b0e2
@lstoll lstoll authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/heroku/command/repo.rb
View
10 lib/heroku/command/repo.rb
@@ -15,8 +15,8 @@ class Heroku::Command::Repo < Heroku::Command::BaseWithApp
def purge_cache
run <<EOF
set -e
-mkdir -p repo_tmp/unpack
-cd repo_tmp
+mkdir -p tmp/repo_tmp/unpack
+cd tmp/repo_tmp
curl -o repo.tgz '#{repo_get_url}'
cd unpack
tar -zxf ../repo.tgz
@@ -26,7 +26,7 @@ def purge_cache
exit
EOF
end
-
+
# repo:gc
#
# Run a git gc --agressive on the applications repository
@@ -34,8 +34,8 @@ def purge_cache
def gc
run <<EOF
set -e
-mkdir -p repo_tmp/unpack
-cd repo_tmp
+mkdir -p tmp/repo_tmp/unpack
+cd tmp/repo_tmp
curl -o repo.tgz '#{repo_get_url}'
cd unpack
tar -zxf ../repo.tgz
Please sign in to comment.
Something went wrong with that request. Please try again.