From owner-svn-ports-all@FreeBSD.ORG Fri Aug 10 09:03:12 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6F3D106566B; Fri, 10 Aug 2012 09:03:12 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8F5B78FC17; Fri, 10 Aug 2012 09:03:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7A93CBa014207; Fri, 10 Aug 2012 09:03:12 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7A93CNi014204; Fri, 10 Aug 2012 09:03:12 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201208100903.q7A93CNi014204@svn.freebsd.org> From: Rene Ladan Date: Fri, 10 Aug 2012 09:03:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r302381 - in head/astro/boinc-astropulse: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2012 09:03:12 -0000 Author: rene Date: Fri Aug 10 09:03:12 2012 New Revision: 302381 URL: http://svn.freebsd.org/changeset/ports/302381 Log: - Make sure the package is properly deinstalled by using the proper sh syntax. - Bump PORTREVISION Modified: head/astro/boinc-astropulse/Makefile head/astro/boinc-astropulse/files/pkg-deinstall.in Modified: head/astro/boinc-astropulse/Makefile ============================================================================== --- head/astro/boinc-astropulse/Makefile Fri Aug 10 08:59:03 2012 (r302380) +++ head/astro/boinc-astropulse/Makefile Fri Aug 10 09:03:12 2012 (r302381) @@ -6,7 +6,7 @@ PORTNAME= boinc-astropulse PORTVERSION= 6.01 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= astro MASTER_SITES= ftp://rene-ladan.nl/pub/distfiles/ DISTNAME= astropulse-svn-1280 Modified: head/astro/boinc-astropulse/files/pkg-deinstall.in ============================================================================== --- head/astro/boinc-astropulse/files/pkg-deinstall.in Fri Aug 10 08:59:03 2012 (r302380) +++ head/astro/boinc-astropulse/files/pkg-deinstall.in Fri Aug 10 09:03:12 2012 (r302381) @@ -14,8 +14,8 @@ if [ $? -ne 0 ]; then echo $F is corrupt exit 1 fi -l1=$((l-1)) -l2=$((l+13)) +l1=$(($l-1)) +l2=$(($l+13)) sed -i.bak "${l1},${l2}d" $F # sed wants the braces rm $F.bak