pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_chk/files Replace three instances of sed ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9660f091ba65
branches: trunk
changeset: 538702:9660f091ba65
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Feb 17 01:05:39 2008 +0000
description:
Replace three instances of sed with ${SED}. Ride previous update.
diffstat:
pkgtools/pkg_chk/files/pkg_chk.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r 42bb1f405042 -r 9660f091ba65 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Sun Feb 17 00:55:20 2008 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Sun Feb 17 01:05:39 2008 +0000
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.53 2008/02/17 00:55:21 tnn Exp $
+# $Id: pkg_chk.sh,v 1.54 2008/02/17 01:05:39 tnn Exp $
#
# TODO: Make -g check dependencies and tsort
# TODO: Variation of -g which only lists top level packages
@@ -187,7 +187,7 @@
fi
# .tgz/.tbz to regexp
- PKG_SUFX_RE=`echo $PKG_SUFX | sed 's/[.]/[.]/'`
+ PKG_SUFX_RE=`echo $PKG_SUFX | ${SED} 's/[.]/[.]/'`
if [ ! -d $PKG_DBDIR ] ; then
fatal "Unable to access PKG_DBDIR ($PKG_DBDIR)"
@@ -259,7 +259,7 @@
list_bin_pkgs ()
{
- ls -t $PACKAGES | grep "$PKG_SUFX_RE"'$' | sed "s|^|$PACKAGES/|"
+ ls -t $PACKAGES | grep "$PKG_SUFX_RE"'$' | ${SED} "s|^|$PACKAGES/|"
}
# Given a binary package filename as the first argumennt, return a list
@@ -794,7 +794,7 @@
while read a
do
b=$(grep "o $a-[0-9]" $PKGSRCDIR/doc/TODO | \
- sed -e "s/[ ]*o //")
+ ${SED} -e "s/[ ]*o //")
if [ "$b" ]
then
echo $a: $b
Home |
Main Index |
Thread Index |
Old Index