X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Bryan D. Thomas" Subject: [PATCH] wtf shell script prep function Date: Fri, 31 Mar 2006 07:16:42 -0800 Lines: 40 Message-ID: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Oops, I posted this to patches. Here's my attempt to DTRT. http://cygwin.com/acronyms/#KOTPPLAUOP wtf didn't have this one. wtf includes a version of OLOCA from 2003. I downloaded the source package and found how to get the new one, so I'm happy. I did have to modify the makefile to get it to work, though. If this patch is accepted, maybe at the same time, a 2006 version of OLOCA would go in? Best Regards, Bryan $ ./wtf-0.0.4-6.sh prep ./wtf-0.0.4-6.sh: line 64: syntax error near unexpected token `&&' ./wtf-0.0.4-6.sh: line 64: ` && mkdirs )' =================================================================== --- wtf-0.0.4-6.sh 2003-11-25 16:42:58.000000000 -0800 +++ wtf-new.sh 2006-03-31 06:38:42.953125000 -0800 @@ -60,8 +60,8 @@ (cd ${topdir} && \ tar xvjf ${src_orig_pkg} && \ cd ${topdir} && \ - patch -p0 < ${src_patch} - && mkdirs ) + patch -p0 < ${src_patch} && \ + mkdirs ) } conf() { (cd ${objdir} && \ =================================================================== -- 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/