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
commit1eafb05173da69a7b7b9f1b7cab591747e9154d2 (patch)
tree572989bc8a305fc09ce8c04b373795440b0324c4 /pkgtools/pkgchk
parentacf48d770ed2f6f4b2516fd8b99e615133390443 (diff)
downloadpkgsrc-1eafb05173da69a7b7b9f1b7cab591747e9154d2.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