Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
Attempt to fix cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed May 24, 2011
1 parent c113da9 commit 915a1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/jitterbug/Builder.pm
Expand Up @@ -109,7 +109,7 @@ sub _prepare_git_repo {
# cached git repo, then checkout the correct sha1

debug("build_dir = $build_dir");
unless ( -d $cached_repo_dir ) {
unless ( -d catfile($cached_repo_dir,$name) ) {
# If this is the first time, the repo won't exist yet
# Clone it into our cached repo directory
_clone_into($repo, $cached_repo_dir);
Expand All @@ -119,7 +119,7 @@ sub _prepare_git_repo {
chdir $cached_repo_dir;
# TODO: Error Checking

debug("Fetching new commits into $repo");
debug("Fetching new commits into $cached_repo_dir");
system("git fetch --prune");
chdir $pwd;

Expand Down

0 comments on commit 915a1b8

Please sign in to comment.