diff options
author | gdt <gdt@pkgsrc.org> | 2007-08-17 01:19:45 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2007-08-17 01:19:45 +0000 |
commit | fa9c87e80e1c89d8a41a1dcae411e0d5a2c1137a (patch) | |
tree | 4592af7e672a58e8f64c123d509ef0ce5c1cf433 | |
parent | ae63b57bbe7d6b1bcc760f0527805a8cf8d0ad23 (diff) | |
download | pkgsrc-fa9c87e80e1c89d8a41a1dcae411e0d5a2c1137a.tar.gz |
Remove leading spaces from PKGNAME, to cope with an old bug.
-rw-r--r-- | pkgtools/pkg_rolling-replace/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh | 4 |
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 |