[Bps-public-commit] Shipwright branch, master, updated. b8c98af12113b37cc0e6e92d94a88bed34531e09
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sun Apr 26 05:21:33 EDT 2009
The branch, master has been updated
via b8c98af12113b37cc0e6e92d94a88bed34531e09 (commit)
from 6763208c0939b8ab301a1606b17cd02f566f5cbe (commit)
Summary of changes:
lib/Shipwright/Backend/Git.pm | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
- Log -----------------------------------------------------------------
commit b8c98af12113b37cc0e6e92d94a88bed34531e09
Author: sunnavy <sunnavy at gmail.com>
Date: Sun Apr 26 17:21:13 2009 +0800
still use Shipwright::Util->run
diff --git a/lib/Shipwright/Backend/Git.pm b/lib/Shipwright/Backend/Git.pm
index 4f723f5..438fa49 100644
--- a/lib/Shipwright/Backend/Git.pm
+++ b/lib/Shipwright/Backend/Git.pm
@@ -143,14 +143,11 @@ sub DESTROY {
my $cwd = getcwd;
chdir $self->cloned_dir;
-# Shipwright::Util->run( [ $ENV{'SHIPWRIGHT_GIT'}, 'add', '.' ] );
+ Shipwright::Util->run( [ $ENV{'SHIPWRIGHT_GIT'}, 'add', '.' ] );
# TODO comment need to be something special
-# Shipwright::Util->run(
-# [ $ENV{'SHIPWRIGHT_GIT'}, 'commit', '-m', 'comment', '-a' ], 1 );
-# Shipwright::Util->run( [ $ENV{'SHIPWRIGHT_GIT'}, 'push' ] );
- system( $ENV{'SHIPWRIGHT_GIT'}, 'add', '.' );
- system( $ENV{'SHIPWRIGHT_GIT'}, 'commit', '-m', 'comment', '-a' );
- system( $ENV{'SHIPWRIGHT_GIT'}, 'push' );
+ Shipwright::Util->run(
+ [ $ENV{'SHIPWRIGHT_GIT'}, 'commit', '-m', 'comment', '-a' ], 1 );
+ Shipwright::Util->run( [ $ENV{'SHIPWRIGHT_GIT'}, 'push' ] );
chdir $cwd;
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list