Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Be compatible with older versions of File::Path

  • Loading branch information...
commit 06eb52316452c74ca7698d26a834a8c71a496987 1 parent e098bc6
Greg Bacon authored March 08, 2012 sitaramc committed March 09, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/gl-system-install
4  src/gl-system-install
@@ -2,7 +2,7 @@
2 2
 use strict;
3 3
 use warnings;
4 4
 use English;    # so I can say $EUID instead of $>
5  
-use File::Path qw(make_path);
  5
+use File::Path qw(mkpath);
6 6
 
7 7
 # install the gitolite software *system wide*.
8 8
 
@@ -75,7 +75,7 @@ sub argv_or_defaults {
75 75
 sub check_dirs {
76 76
     for my $dir ( $bin_dir, $conf_dir, $hooks_dir ) {
77 77
         die "$dir should be an absolute path\n" unless $dir =~ m(^/);
78  
-        make_path($dir);
  78
+        mkpath($dir);
79 79
         -d $dir or die "$dir does not exist and could not be created\n";
80 80
     }
81 81
 }

0 notes on commit 06eb523

Please sign in to comment.
Something went wrong with that request. Please try again.