Index: tools/install/smoke_languages.pl
===================================================================
--- tools/install/smoke_languages.pl	(revision 42897)
+++ tools/install/smoke_languages.pl	(working copy)
@@ -61,6 +61,7 @@
 
 chdir($DESTDIR) if ($DESTDIR);
 my $pwd = getcwd();
+$pwd =~ s{ }{\\ }g;
 
 my $filename;
 my $exe;
