summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2001-08-10 10:54:21 +0000
committerdrochner <drochner@pkgsrc.org>2001-08-10 10:54:21 +0000
commit1e334b619dfeab557d05f8df541f0110d58e01ae (patch)
tree572989bc8a305fc09ce8c04b373795440b0324c4 /pkgtools
parent7c89d57fafe90c5946c6d0972d5fbc05527e1b7e (diff)
downloadpkgsrc-1e334b619dfeab557d05f8df541f0110d58e01ae.tar.gz
put /usr/sbin into $PATH to find pkg_{info,add,...} independantly
of the user's one
Diffstat (limited to 'pkgtools')
-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