delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/13/15:27:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Date: Tue, 13 Apr 2010 21:27:26 +0200
From: d DOT sastre DOT medina AT gmail DOT com
To: <cygwin AT cygwin DOT com>
Subject: [ ATTN d The directory lister mantainer ] typo in d-1.2.0-1.sh
Message-ID: <20100413192726.GA13598@ghost.local.lan>
MIME-Version: 1.0
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

The sources were downloaded from:

http://cygwin.basemirror.de/release/d/d-1.2.0-1-src.tar.bz

The script to rebuild the package contains a typo that prevents it
from executing correctly:

$ ./d-1.2.0-1.sh all
./d-1.2.0-1.sh: line 72: syntax error near unexpected token `&&'
./d-1.2.0-1.sh: line 72: `  && mkdirs )'

The problem is a missing backslash:

$ diff -u d-1.2.0-1.sh.orig d-1.2.0-1.sh
--- d-1.2.0-1.sh.orig   2010-04-13 21:09:00.000000000 +0200
+++ d-1.2.0-1.sh        2010-04-13 21:09:33.000000000 +0200
@@ -68,7 +68,7 @@
   (cd ${topdir} && \
   tar xv${opt_decomp}f ${src_orig_pkg} ; \
   cd ${topdir} && \
-  patch -p0 < ${src_patch}
+  patch -p0 < ${src_patch} \
   && mkdirs )
 }
 conf() {

Regards.

--=20
Huella de clave =3D 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkvExZ4ACgkQ0Tqi4ZilyVPEJACdE8bVXAeTBBXoIVFbBZfbdh2C
g1QAnAi2YECW35ogPQUy+8UzVjf3HIR7
=yXUf
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019