Permalink
Browse files

put /usr/sbin into PATH in case user doesn't

otherwise, pkg_info is not found
  • Loading branch information...
1 parent 43c0028 commit 8e69e1a436225165d7a339a44193b600265838e2 drochner committed Mar 8, 2001
Showing with 3 additions and 1 deletion.
  1. +3 −1 pkglocate
View
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: pkglocate,v 1.4 2001/02/16 14:00:00 agc Exp $
+# $NetBSD: pkglocate,v 1.5 2001/03/08 11:46:52 drochner Exp $
#
#-
# Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -48,6 +48,8 @@
#set -x
+PATH=${PATH}:/usr/sbin
+
case `pkg_info -e 'glimpse-*'` in
glimpse-*) grepname=agrep ;;
*) grepname=/usr/bin/grep ;;

0 comments on commit 8e69e1a

Please sign in to comment.