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]

Re: cygport patch - apply_patch


apply_patch has a typo in 0.2.8 that breaks operation when trying to prep a 
package:

--- /bin/cygport.orig	2007-01-17 14:23:36.211079400 -0700
+++ /bin/cygport	2007-01-17 14:39:54.305198900 -0700
@@ -532,10 +532,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_name} &> /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_name} 
|| 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]