The following commit has been merged in the master branch:
commit c77a5501a8d417e1ca17cc0a4b538f19fb154641
Author: Stefano Zacchiroli <z...@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

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to