summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_rolling-replace
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2007-08-17 01:19:45 +0000
committergdt <gdt@pkgsrc.org>2007-08-17 01:19:45 +0000
commit785779a3cc572a62b4aeb93cdde9a58bed33f7d8 (patch)
tree4592af7e672a58e8f64c123d509ef0ce5c1cf433 /pkgtools/pkg_rolling-replace
parentdb8dcb56d11b29afb27ea830e2bf106747d4d555 (diff)
downloadpkgsrc-785779a3cc572a62b4aeb93cdde9a58bed33f7d8.tar.gz
Remove leading spaces from PKGNAME, to cope with an old bug.
Diffstat (limited to 'pkgtools/pkg_rolling-replace')
-rw-r--r--pkgtools/pkg_rolling-replace/Makefile4
-rwxr-xr-xpkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkg_rolling-replace/Makefile b/pkgtools/pkg_rolling-replace/Makefile
index fd7e01098c7..a2940531b3d 100644
--- a/pkgtools/pkg_rolling-replace/Makefile
+++ b/pkgtools/pkg_rolling-replace/Makefile
@@ -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 --git a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
index 3aa765cc732..8bffad837f0 100755
--- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
+++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
@@ -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 @@ while [ -n "$REPLACE_TODO" ]; do
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