summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-04 17:30:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-04 17:30:43 +0000
commita987dcf5be23fc7ebf0a4fa81b6daa4ae351cc3d (patch)
tree6535cfa73343ccbfc4a094053aa88081e4bfad12 /usr.bin
parentcbe217e6297b84b47e0c8d75c98c01a30ee82331 (diff)
sort -H for modern large filesystems; from McikyeBSD; millert@ ok and multiple ppl testing
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/locate/locate/mklocatedb.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/locate/locate/mklocatedb.sh b/usr.bin/locate/locate/mklocatedb.sh
index 3a3231d2630..c3e216c966f 100644
--- a/usr.bin/locate/locate/mklocatedb.sh
+++ b/usr.bin/locate/locate/mklocatedb.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: mklocatedb.sh,v 1.6 1997/12/13 20:06:13 deraadt Exp $
+# $OpenBSD: mklocatedb.sh,v 1.7 2002/10/04 17:30:42 mickey Exp $
#
# Copyright (c) September 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
# All rights reserved.
@@ -30,7 +30,7 @@
#
# usage: mklocatedb [-presort] < filelist > database
#
-# $Id: mklocatedb.sh,v 1.6 1997/12/13 20:06:13 deraadt Exp $
+# $Id: mklocatedb.sh,v 1.7 2002/10/04 17:30:42 mickey Exp $
# The directory containing locate subprograms
@@ -51,7 +51,7 @@ fi
: ${sort=sort}
sortopt="-u -T $TMPDIR"
-sortcmd=$sort
+sortcmd="$sort -H"
# Input already sorted
case X"$1" in