summaryrefslogtreecommitdiff
path: root/pkgtools/pkgchk
diff options
context:
space:
mode:
authordrochner <drochner>2001-08-10 10:54:21 +0000
committerdrochner <drochner>2001-08-10 10:54:21 +0000
commit62884acd76410d7c4b19fe2cc3f5df6f2a273462 (patch)
tree572989bc8a305fc09ce8c04b373795440b0324c4 /pkgtools/pkgchk
parent4e211378e253276b56bf4dff2ddd173d57cd9dde (diff)
downloadpkgsrc-62884acd76410d7c4b19fe2cc3f5df6f2a273462.tar.gz
put /usr/sbin into $PATH to find pkg_{info,add,...} independantly
of the user's one
Diffstat (limited to 'pkgtools/pkgchk')
-rwxr-xr-xpkgtools/pkgchk/files/pkgchk.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh
index faa6362f212..7f31ee609ef 100755
--- a/pkgtools/pkgchk/files/pkgchk.sh
+++ b/pkgtools/pkgchk/files/pkgchk.sh
@@ -1,10 +1,12 @@
#!/bin/sh -e
#
-# $Id: pkgchk.sh,v 1.9 2001/08/08 13:41:43 abs Exp $
+# $Id: pkgchk.sh,v 1.10 2001/08/10 10:54:21 drochner Exp $
#
# TODO: Handle and as well as or tags (eg: i386+x11)
# TODO: Handle updates with dependencies via binary packages
+PATH=/usr/sbin:${PATH}
+
extract_variables()
{
# Establish PKGSRCDIR