[Python-modules-commits] r19461 - in packages/gamera/trunk/debian (dh_buildid)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Nov 28 23:31:33 UTC 2011


    Date: Monday, November 28, 2011 @ 23:31:30
  Author: jwilk
Revision: 19461

mkdir -m doesn't play well with -p. Set umask instead.

Modified:
  packages/gamera/trunk/debian/dh_buildid

Modified: packages/gamera/trunk/debian/dh_buildid
===================================================================
--- packages/gamera/trunk/debian/dh_buildid	2011-11-28 23:12:30 UTC (rev 19460)
+++ packages/gamera/trunk/debian/dh_buildid	2011-11-28 23:31:30 UTC (rev 19461)
@@ -41,6 +41,7 @@
 
 init();
 
+umask 0022;
 foreach my $package (@{$dh{DOPACKAGES}}) {
     my $debug_root = tmpdir($package) . "/usr/lib/debug";
     my $build_id_root = "$debug_root/.build-id";
@@ -59,7 +60,7 @@
             # at all? Anyway, leaving it as it won't hurt.
             return;
         }
-        doit('mkdir', '-p', '-m', '755', $build_id_dir)
+        doit('mkdir', '-p', $build_id_dir)
             unless -d $build_id_dir;
         doit('mv', $path, $build_id_path);
     };




More information about the Python-modules-commits mailing list