From 390599e14a7fc65945e3966e32ae06e2148089e2 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 17 Mar 2009 11:20:01 +0000 Subject: [PATCH] patch by: Vincent Untz * gtkdoc-common.pl.in: Be more friendly for files with a space in their name. Fixes #575574. svn path=/trunk/; revision=705 --- ChangeLog | 8 ++++++++ gtkdoc-common.pl.in | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f205dcd..21eb96a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-03-17 Stefan Kost + + patch by: Vincent Untz + + * gtkdoc-common.pl.in: + Be more friendly for files with a space in their name. Fixes #575574. + + 2009-03-12 Stefan Kost * gtkdoc-mkdb.in: diff --git a/gtkdoc-common.pl.in b/gtkdoc-common.pl.in index 972644d..8cd7614 100644 --- a/gtkdoc-common.pl.in +++ b/gtkdoc-common.pl.in @@ -51,7 +51,7 @@ sub UpdateFileIfChanged { my $exit_code = 1; if (-e $old_file) { - `cmp -s $old_file $new_file`; + `cmp -s "$old_file" "$new_file"`; $exit_code = $? >> 8; # print " cmp exit code: $exit_code ($?)\n"; } -- 2.11.4.GIT