From: Martin Mares Date: Wed, 20 Feb 2008 11:17:48 +0000 (+0100) Subject: Do not choke on file names containing spaces. X-Git-Tag: python-dummy-working~236 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c81c8f401d7afd2afe54757ddf43d01a10b63554;p=moe.git Do not choke on file names containing spaces. Propagating upstream. --- diff --git a/maint/release.pm b/maint/release.pm index dc937ce..b0fa46e 100644 --- a/maint/release.pm +++ b/maint/release.pm @@ -154,7 +154,7 @@ sub CopyFile($$$$) { close I; ! -x $f or chmod(0755, "$dir/$f") or die "chmod($dir/$f): $!"; } else { - `cp -a $f $dir/$f`; die if $?; + `cp -a "$f" "$dir/$f"`; die if $?; } }