[Bps-public-commit] Shipwright branch, master, updated. 2ff3c7e22f27a812f5436fbb26ffddd415adfbb6

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Oct 12 20:21:01 EDT 2009


The branch, master has been updated
       via  2ff3c7e22f27a812f5436fbb26ffddd415adfbb6 (commit)
      from  bd2900054945352e3ea2b6a05bce398e8909ad0d (commit)

Summary of changes:
 lib/Shipwright/Backend/Git.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 2ff3c7e22f27a812f5436fbb26ffddd415adfbb6
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Oct 13 08:20:55 2009 +0800

    rescue 99e3bbf, chdir was in a wrong closure

diff --git a/lib/Shipwright/Backend/Git.pm b/lib/Shipwright/Backend/Git.pm
index 2ed3405..ddb0341 100644
--- a/lib/Shipwright/Backend/Git.pm
+++ b/lib/Shipwright/Backend/Git.pm
@@ -118,9 +118,9 @@ sub _init_new_git_repos {
         Shipwright::Util->run(
             [ $ENV{'SHIPWRIGHT_GIT'}, 'push', $new_repos_dir, 'master' ] );
 
-        chdir $cwd;
     }
 
+    chdir $cwd;
     return $new_repos_dir;
 }
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list