Package: patcher / 0.0.20040521-6.1

02-bub283383.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Alejandro Rios P. <alejandro.rios@avatar.com.co>
Subject: Use abosolute paths for *.files file (Closes: #283383)

diff -urNad patcher-0.0.20040521~/patcher patcher-0.0.20040521/patcher
--- patcher-0.0.20040521~/patcher	2007-09-19 13:54:59.000000000 -0500
+++ patcher-0.0.20040521/patcher	2007-09-19 13:56:26.000000000 -0500
@@ -721,6 +721,7 @@
 sub EditFile($)
 {
 	my $fname = shift;
+	$fname = "$origdir/$fname";
 	print "DEBUG: EditFile('$fname')\n" if $debug > 1;
 
 	if ($patchname) {
@@ -767,7 +768,8 @@
 	my ($fname) = @_;
 	print "DEBUG: DiffOneFile('$fname')\n" if $debug > 1;
 
-	my $dir = basename($projectdir);
+	#my $dir = basename($projectdir);
+	my $dir = "";
 	my $backupname = GetBackupName($fname);
 	chdir("$projectdir/..");