Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Not all OS have grep(1) in /usr/bin/grep, some have it in /sbin/grep,…

… some

in /bin/grep, others in /usr/xpg4/bin/grep.  Since we don't have access
to pkgsrc's variables, rely on grep(1) being in the PATH.

Noted by Roland Illig on tech-pkg.
  • Loading branch information...
commit 030ab7d7189d872c01823eb34cdb7d7d0dfa9f01 1 parent e1f9a19
authored July 04, 2004

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  pkglocate
4  pkglocate
... ...
@@ -1,6 +1,6 @@
1 1
 #! /bin/sh
2 2
 #
3  
-#	$NetBSD: pkglocate,v 1.8 2003/05/31 14:20:46 jmmv Exp $
  3
+#	$NetBSD: pkglocate,v 1.9 2004/07/04 16:12:10 jschauma Exp $
4 4
 #
5 5
 #-
6 6
 # Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@ PATH=${PATH}:/usr/sbin
52 52
 
53 53
 case `pkg_info -e 'glimpse-*'` in
54 54
 glimpse-*)	grepname=agrep ;;
55  
-*)		grepname=/usr/bin/grep ;;
  55
+*)		grepname=grep ;;
56 56
 esac
57 57
 
58 58
 approx=""

0 notes on commit 030ab7d

Please sign in to comment.
Something went wrong with that request. Please try again.