This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygport patch - apply_patch
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/