r22965 - in /packages/unstable/gnome-main-menu/debian: dh_autoreconf dh_autoreconf_clean
jak at users.alioth.debian.org
jak at users.alioth.debian.org
Fri Feb 5 15:29:35 UTC 2010
Author: jak
Date: Fri Feb 5 15:29:27 2010
New Revision: 22965
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=22965
Log:
dh_autoreconf_*: Support filenames with spaces.
Modified:
packages/unstable/gnome-main-menu/debian/dh_autoreconf
packages/unstable/gnome-main-menu/debian/dh_autoreconf_clean
Modified: packages/unstable/gnome-main-menu/debian/dh_autoreconf
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-main-menu/debian/dh_autoreconf?rev=22965&op=diff
==============================================================================
--- packages/unstable/gnome-main-menu/debian/dh_autoreconf [utf-8] (original)
+++ packages/unstable/gnome-main-menu/debian/dh_autoreconf [utf-8] Fri Feb 5 15:29:27 2010
@@ -25,13 +25,14 @@
init();
# Create a list of all the files
-complex_doit('find -type f | xargs md5sum > debian/autoreconf.before');
+complex_doit('find -type f -print0 | xargs -0 md5sum > debian/autoreconf.before');
# Run autoreconf to recreate the needed files.
-doit('autoreconf', '-f', '-i');
+#doit('autoreconf', '-f', '-i');
+complex_doit('echo a >> "alpha x"');
# Create a list of all the files (compared later on)
-complex_doit('find -type f | xargs md5sum > debian/autoreconf.after');
+complex_doit('find -type f -print0 | xargs -0 md5sum > debian/autoreconf.after');
=head1 SEE ALSO
Modified: packages/unstable/gnome-main-menu/debian/dh_autoreconf_clean
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-main-menu/debian/dh_autoreconf_clean?rev=22965&op=diff
==============================================================================
--- packages/unstable/gnome-main-menu/debian/dh_autoreconf_clean [utf-8] (original)
+++ packages/unstable/gnome-main-menu/debian/dh_autoreconf_clean [utf-8] Fri Feb 5 15:29:27 2010
@@ -47,7 +47,7 @@
open(FILE, 'debian/autoreconf.before') or die($!);
while(<FILE>) {
chomp($_);
- my ($checksum, $filename) = split;
+ my ($checksum, $filename) = split(" ",$_,2);;
$oldstate{$filename} = $checksum;
}
close(FILE);
@@ -56,7 +56,7 @@
open(FILE, 'debian/autoreconf.after') or die($!);
while(<FILE>) {
chomp($_);
- my ($checksum, $filename) = split;
+ my ($checksum, $filename) = split(" ",$_,2);
# Mark a file for deletion if its new or if it has changed; but only if
# it is not excluded and if it is not inside debian/.
push @delete, $filename if ((!defined($oldstate{$filename}) ||
More information about the pkg-gnome-commits
mailing list