summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-03-09 17:24:48 +0000
committerwiz <wiz@pkgsrc.org>2006-03-09 17:24:48 +0000
commitb16e7b4e976f5feb845c4704f26a3527c434d808 (patch)
treef8eac207033e7349ec45142d34b4f5de52f228aa /pkgtools
parent35af21af3cb84ddfe1934edb322dec1ad9af4ddc (diff)
downloadpkgsrc-b16e7b4e976f5feb845c4704f26a3527c434d808.tar.gz
Add -*- perl -*- so emacs recognizes it automatically.
revbump: only print "updated" line when updating was successful.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/revbump/files/blbump3
-rw-r--r--pkgtools/revbump/files/finddepends3
-rw-r--r--pkgtools/revbump/files/revbump6
3 files changed, 8 insertions, 4 deletions
diff --git a/pkgtools/revbump/files/blbump b/pkgtools/revbump/files/blbump
index d712e12c269..e6bca739cba 100644
--- a/pkgtools/revbump/files/blbump
+++ b/pkgtools/revbump/files/blbump
@@ -1,6 +1,7 @@
#!@PERL@ -w
+# -*- perl -*-
#
-# $NetBSD: blbump,v 1.2 2006/03/07 04:30:54 wiz Exp $
+# $NetBSD: blbump,v 1.3 2006/03/09 17:24:48 wiz Exp $
#
# Copyright (c) 2003, 2004 The NetBSD Foundation, Inc.
#
diff --git a/pkgtools/revbump/files/finddepends b/pkgtools/revbump/files/finddepends
index 7167a8bb7df..fae5eebcd2f 100644
--- a/pkgtools/revbump/files/finddepends
+++ b/pkgtools/revbump/files/finddepends
@@ -1,6 +1,7 @@
#!@PERL@ -w
+# -*- perl -*-
#
-# $NetBSD: finddepends,v 1.2 2006/03/07 04:30:54 wiz Exp $
+# $NetBSD: finddepends,v 1.3 2006/03/09 17:24:48 wiz Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
#
diff --git a/pkgtools/revbump/files/revbump b/pkgtools/revbump/files/revbump
index f4e80df5402..38570008cc1 100644
--- a/pkgtools/revbump/files/revbump
+++ b/pkgtools/revbump/files/revbump
@@ -1,6 +1,7 @@
#!@PERL@ -w
+# -*- perl -*-
#
-# $NetBSD: revbump,v 1.2 2006/03/07 04:30:54 wiz Exp $
+# $NetBSD: revbump,v 1.3 2006/03/09 17:24:48 wiz Exp $
#
# Copyright (c) 2003, 2004 The NetBSD Foundation, Inc.
#
@@ -109,7 +110,6 @@ sub revbump {
# compare previous PKGVERSION and current PKGVERSION to see if update
# was successful
- print("Updated $pkgdir from $oldpkgver to $pkgver\n");
if ($oldpkgver =~ /.*nb([0-9]+)$/) {
$oldpkgver = $1;
} else {
@@ -128,6 +128,8 @@ sub revbump {
unlink "$backupmk";
+ print("Updated $pkgdir from $oldpkgver to $pkgver\n");
+
return 1;
}