delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/17/16:28:26

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Blake <ebb9 AT byu DOT net>
Subject: cygport patch - =?utf-8?b?Z3BnX3ZlcmlmeQ==?=
Date: Wed, 17 Jan 2007 21:27:46 +0000 (UTC)
Lines: 31
Message-ID: <loom.20070117T222417-149@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
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

cygport generates .sig suffixes by default, but this typo was making 
verification of the cygwin patch fail as it looked for .sign suffixes.

$ diff -ub /bin/cygport{.orig,}
--- /bin/cygport.orig	2007-01-17 14:23:36.211079400 -0700
+++ /bin/cygport	2007-01-17 14:23:52.318845000 -0700
@@ -2,7 +2,7 @@
 
################################################################################
 #
 # cygport - Cygwin packaging application
-# Copyright (C) 2006 Yaakov Selkowitz
+# Copyright (C) 2006, 2007 Yaakov Selkowitz
 # Provided by the Cygwin Ports project <http://cygwinports.dotsrc.org/>
 # Distributed under the terms of the GNU General Public License v2
 #
@@ -482,11 +482,11 @@
 	local _filetype=${2};
 	local _sigext=${3:-sig};
 
-	if [ -f ${_file}.${sigext} ]
+	if [ -f ${_file}.${_sigext} ]
 	then
 		inform "${_filetype} signature follows:";
 		# we 'check_prog gpg' in src_prep
-		gpg --verify ${_file}.${sigext} ${_file};
+		gpg --verify ${_file}.${_sigext} ${_file};
 	else
 		inform "${_filetype} signature missing.";
 	fi



--
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/

- Raw text -


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