This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] cygport-0.2.7 bugfix for apply_patch


The recent change in apply_patch has a small bug, fixed by the attached.

2006-01-05 Charles Wilson <...>

* bin/cygport.in (apply_patch): use correct variable name

--
Chuck
--- bin/cygport.in	2007-01-06 00:30:50.593750000 -0500
+++ bin/cygport.in	2007-01-06 04:26:46.093750000 -0500
@@ -551,10 +551,10 @@
 
 		while (( patchlevel <= 3 ))
 		do
-			if patch -N -s --dry-run -p${patchlevel} -i ${patchfile} &> /dev/null
+			if patch -N -s --dry-run -p${patchlevel} -i ${patchfile_path} &> /dev/null
 			then
 				inform "applying patch ${patchfile_name}:";
-				patch -N -p${patchlevel} -i ${patchfile} || error "patch ${patchfile_name} failed"
+				patch -N -p${patchlevel} -i ${patchfile_path} || error "patch ${patchfile_name} failed"
 				break;
 			else
 				if (( patchlevel == 3 ))

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]