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/

Reply via email to