[Pkg-ocaml-maint-commits] [SCM] dose3 packaging branch, master, updated. debian/2.9.4-2-13-gc77a550

Stefano Zacchiroli zack at upsilon.cc
Sat Jun 11 08:58:52 UTC 2011


The following commit has been merged in the master branch:
commit c77a5501a8d417e1ca17cc0a4b538f19fb154641
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date:   Sat Jun 11 10:58:34 2011 +0200

    update-cudf-solvers: create EDSP dir if needed

diff --git a/debian/update-cudf-solvers b/debian/update-cudf-solvers
index 1d149f7..8495705 100755
--- a/debian/update-cudf-solvers
+++ b/debian/update-cudf-solvers
@@ -8,6 +8,7 @@
 use strict;
 
 use File::Basename;
+use File::Path qw(make_path);
 use Getopt::Long;
 use Pod::Usage;
 
@@ -98,6 +99,8 @@ sub main() {
 	);
     die_usage if (! $getopt || $help_action);
 
+    -d $edsp_dir or make_path($edsp_dir, { mode => 0755 });
+
     my @cudf_solvers = shallow_find($cudf_dir, "-type f");
     my @edsp_solvers = shallow_find($edsp_dir, "-type l");
     foreach my $s (@cudf_solvers) { debug "found cudf solver: $s"; }

-- 
dose3 packaging



More information about the Pkg-ocaml-maint-commits mailing list