From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22683 invoked by alias); 9 Jul 2002 20:51:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22676 invoked from network); 9 Jul 2002 20:51:21 -0000 Received: from unknown (HELO small-gods.mit.edu) (18.18.1.55) by sources.redhat.com with SMTP; 9 Jul 2002 20:51:21 -0000 Received: (from frodo@localhost) by small-gods.mit.edu (8.9.3) id QAA03854; Tue, 9 Jul 2002 16:50:49 -0400 (EDT) To: cygwin@cygwin.com Subject: wget 1.8.1-1: bug in postinstall script From: Len Giambrone Date: Tue, 09 Jul 2002 14:37:00 -0000 Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg00705.txt.bz2 The script says: #!/bin/sh VERSION=1.8.1-1 INFODIR=/usr/info INSTALLINFO=/usr/bin/install-info if [ -x ${INSTALLINFO} -a -f ${INFODIR}/wget.info ] ; then ${INSTALLINFO} --dir-file=${INFODIR}/dir ${INFODIR}/wget.info fi if [ ! -f /etc/wgetrc ] ; then cp /usr/doc/wget-${VERSION}/sample.wgetrc /etc/wgetrc fi But in the tarball we have: $ tar -tIvf ../../wmt-tls/cygdist/wget-1.8.1-1.tar.bz2 usr/doc drwxrwxrwx hack/Administrators 0 2002-02-13 15:07:49 usr/doc/ drwxr-xr-x hack/Administrators 0 2002-02-13 15:07:49 usr/doc/Cygwin/ -rw-r--r-- hack/Administrators 1249 2002-02-13 15:07:49 usr/doc/Cygwin/wget-1.8.1.README drwxrwxrwx hack/Administrators 0 2002-02-13 15:07:49 usr/doc/wget-1.8.1/ The cp will fail because the VERSIONs don't match. 1.8.1-1 in the script and the actual directory created is wget-1.8.1. -Len -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/