diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-06-07 09:45:06 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-06-07 09:45:06 +0300 |
commit | bd4515bb1e37d536ce6a994595661a98bf289766 (patch) | |
tree | 3b795a1a697c90f05b8b5a6673df55d8768a5df7 /install-mib.pl | |
parent | 7ba60f1e59378fc697f9b60eb3cbbe88d8c7f058 (diff) | |
download | netsnmp-sendmail-bd4515bb1e37d536ce6a994595661a98bf289766.tar.gz netsnmp-sendmail-bd4515bb1e37d536ce6a994595661a98bf289766.tar.bz2 |
Bugfixes
* Makefile.PL: Use DESTINSTALL.* instead of DESTINSTALLSITE.*
* SENDMAIL-STATS.txt: Use Gauge32 for integer values that may
increase and decrease.
* install-mib.pl: Use make_path instead of mkdir
Diffstat (limited to 'install-mib.pl')
-rwxr-xr-x | install-mib.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install-mib.pl b/install-mib.pl index 56461a8..54d9e5e 100755 --- a/install-mib.pl +++ b/install-mib.pl @@ -3,6 +3,7 @@ use strict; use File::Basename; use File::Copy; +use File::Path qw(make_path); use autodie; # install-mib FILE DIR @@ -25,7 +26,7 @@ close($fd); die "no MIB definition in $file" unless defined $mibname; -mkdir($destdir) unless -e $destdir; +make_path($destdir) unless -e $destdir; copy($file, $destdir); |