File: 10_space_destdir.diff

package info (click to toggle)
rsnapshot 1.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 2,656 kB
  • sloc: perl: 4,328; sh: 3,225; makefile: 138
file content (27 lines) | stat: -rw-r--r-- 931 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Guillaume Delacour <gui@iroqwa.org>
Subject: Fix space in path problem
Origin: upstream, http://rsnapshot.cvs.sourceforge.net/viewvc/rsnapshot/rsnapshot/rsnapshot-program.pl?r1=1.413&r2=1.414&view=patch
Bug-Debian: http://bugs.debian.org/662636

--- a/rsnapshot-program.pl	2009/03/09 05:38:23	1.413
+++ b/rsnapshot-program.pl	2009/03/27 21:54:02	1.414
@@ -3692,8 +3692,7 @@
 	$result = 1;
 	if (0 == $test) {
 		while ($tryCount < $rsync_numtries && $result !=0) {
-			# join is Michael Ashley's fix for some filter/space problems		
-			$result = system(join(' ', @cmd_stack));
+			$result = system(@cmd_stack);
 			$tryCount += 1;
 		}
 
@@ -4728,8 +4728,7 @@
 	print_cmd(@cmd_stack);
 	
 	if (0 == $test) {
-                # join is Michael Ashley's fix for some filter/space problems
-		my $result = system(join(' ', @cmd_stack));
+		my $result = system(@cmd_stack);
 		
 		if ($result != 0) {
 			# bitmask return value