Showing 2 changed files with 3 additions and 4 deletions
+2 -3
lib/Gitprep/Manager.pm
... ...
@@ -406,9 +406,8 @@ sub _create_rep {
406 406
     # Git init
407 407
     {
408 408
       my @git_init_cmd = $git->cmd_rep($rep, 'init', '--bare');
409
-      open my $fh, "-|", @git_init_cmd
410
-        or croak  "Can't execute git init";
411
-      close $fh;
409
+      system(@git_init_cmd) == 0
410
+        or croak  "Can't execute git init --bare:@git_init_cmd";
412 411
     }
413 412
     
414 413
     # Add git-daemon-export-ok
+1 -1
templates/include/footer.html.ep
... ...
@@ -1,6 +1,6 @@
1 1
 <hr style="margin-top:0;margin-bottom:10px">
2 2
 <div class="text-center" style="margin-bottom:10px">
3
-  <a href="https://github.com/yuki-kimoto/gitprep">Gitprep</a>
3
+  <a href="http://perlcodesample.sakura.ne.jp/gitprep-site">Gitprep</a>
4 4
 </div>
5 5
 
6 6
 % if (app->mode eq 'development') {