summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_chk
diff options
context:
space:
mode:
authortnn <tnn>2008-02-17 01:05:39 +0000
committertnn <tnn>2008-02-17 01:05:39 +0000
commit288c5cd295be7c24f80c39abb088f39d0448e512 (patch)
tree6d36b8dd7c420178088bc5d5f21a3559ceb1851c /pkgtools/pkg_chk
parentd9952ebe2c8c4fc6013509996ce49944385b73c3 (diff)
downloadpkgsrc-288c5cd295be7c24f80c39abb088f39d0448e512.tar.gz
Replace three instances of sed with ${SED}. Ride previous update.
Diffstat (limited to 'pkgtools/pkg_chk')
-rwxr-xr-xpkgtools/pkg_chk/files/pkg_chk.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh
index 44f0d8a2754..3c29304b4ec 100755
--- a/pkgtools/pkg_chk/files/pkg_chk.sh
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh
@@ -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 @@ extract_variables()
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 @@ get_build_ver()
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 @@ if [ -n "$opt_N" ]; then
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