Probeersel
This commit is contained in:
parent
296ca0b7d4
commit
fa1010d9a0
1 changed files with 5 additions and 1 deletions
6
revbank
6
revbank
|
@ -125,7 +125,11 @@ sub now {
|
||||||
|
|
||||||
sub git_commit {
|
sub git_commit {
|
||||||
my ($message) = @_;
|
my ($message) = @_;
|
||||||
system qw(git commit -q revbank.accounts .revbank.undo), -m => $message;
|
open my $pipe, '-|',
|
||||||
|
qw(git commit -q revbank.accounts .revbank.undo), -m => $message
|
||||||
|
or die $!;
|
||||||
|
1 while readline $pipe; # /dev/null, maar dan anders
|
||||||
|
close $pipe;
|
||||||
system qw(git push -q bar.git);
|
system qw(git push -q bar.git);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue