/[smeserver]/rpms/e-smith-devtools/sme9/e-smith-devtools-2.4.0-quote_filenames.patch
ViewVC logotype

Contents of /rpms/e-smith-devtools/sme9/e-smith-devtools-2.4.0-quote_filenames.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Aug 23 08:47:19 2016 UTC (8 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-devtools-2_4_0-5_el6_sme, HEAD
* Tue Aug 23 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme
- Quote filenames in genfilelist so filenames containing spaces are correctly
  handled [SME: 9758]

1 diff -Nur e-smith-devtools-2.4.0/genfilelist e-smith-devtools-2.4.0_bz9758/genfilelist
2 --- e-smith-devtools-2.4.0/genfilelist 2013-01-25 17:23:28.000000000 +0100
3 +++ e-smith-devtools-2.4.0_bz9758/genfilelist 2016-08-23 10:40:11.338930953 +0200
4 @@ -208,7 +208,7 @@
5 "$::dirperms{$path} " :
6 # and others just get the default
7 "%attr(0755,root,root) ";
8 - print "$path\n";
9 + print "\"$path\"\n";
10 }
11 elsif (-f)
12 {
13 @@ -235,11 +235,11 @@
14 {
15 print "$::fileperms{$dir} ";
16 }
17 - print "$path\n";
18 + print "\"$path\"\n";
19 }
20 }
21 else
22 {
23 - print "$path\n";
24 + print "\"$path\"\n";
25 }
26 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed