cygport patch - apply_patch

Eric Blake ebb9@byu.net
Wed Jan 17 21:50:00 GMT 2007


Eric Blake <ebb9 <at> byu.net> writes:
>> apply_patch has a typo in 0.2.8 that breaks operation when trying to prep a 
> package:

Nevermind that my suggestion had a typo as well.
-- 
Eric Blake
--- /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_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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /