pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_rolling-replace Remove leading spaces fro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b99485119a20
branches: trunk
changeset: 532370:b99485119a20
user: gdt <gdt%pkgsrc.org@localhost>
date: Fri Aug 17 01:19:45 2007 +0000
description:
Remove leading spaces from PKGNAME, to cope with an old bug.
diffstat:
pkgtools/pkg_rolling-replace/Makefile | 4 ++--
pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r b82895d74b72 -r b99485119a20 pkgtools/pkg_rolling-replace/Makefile
--- a/pkgtools/pkg_rolling-replace/Makefile Thu Aug 16 23:14:17 2007 +0000
+++ b/pkgtools/pkg_rolling-replace/Makefile Fri Aug 17 01:19:45 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2007/08/08 11:28:04 tnn Exp $
+# $NetBSD: Makefile,v 1.14 2007/08/17 01:19:45 gdt Exp $
-DISTNAME= pkg_rolling-replace-0.10
+DISTNAME= pkg_rolling-replace-0.11
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r b82895d74b72 -r b99485119a20 pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
--- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Thu Aug 16 23:14:17 2007 +0000
+++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Fri Aug 17 01:19:45 2007 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
-# $NetBSD: pkg_rolling-replace.sh,v 1.13 2007/08/08 11:28:04 tnn Exp $
+# $NetBSD: pkg_rolling-replace.sh,v 1.14 2007/08/17 01:19:45 gdt Exp $
#<license>
# Copyright (c) 2006 BBN Technologies Corp. All rights reserved.
#
@@ -320,7 +320,7 @@
break;
fi
done
- pkgdir=$(${PKG_INFO} -Bq $pkg | awk -F= '/PKGPATH=/{print $2}')
+ pkgdir=$(${PKG_INFO} -Bq $pkg | awk -F= '/PKGPATH=/{print $2}' | sed -e 's/^ //')
echo "${OPI} Selecting $pkg ($pkgdir) as next package to replace"
sleep 1
Home |
Main Index |
Thread Index |
Old Index