Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/usr.bin/locate/locate Pull up following revision(s) (requ...
details: https://anonhg.NetBSD.org/src/rev/b489b19e2aca
branches: netbsd-9
changeset: 373177:b489b19e2aca
user: martin <martin%NetBSD.org@localhost>
date: Mon Jan 23 13:17:27 2023 +0000
description:
Pull up following revision(s) (requested by uwe in ticket #1576):
usr.bin/locate/locate/updatedb.sh: revision 1.18
locate.updatedb: Add -- to the invocation of locate.code
A bigram can start with a dash/minus, don't let getopt misinterpret it
as an option.
>From Hakan Engvall in PR misc/57191
diffstat:
usr.bin/locate/locate/updatedb.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 028683f164fa -r b489b19e2aca usr.bin/locate/locate/updatedb.sh
--- a/usr.bin/locate/locate/updatedb.sh Mon Jan 23 13:04:11 2023 +0000
+++ b/usr.bin/locate/locate/updatedb.sh Mon Jan 23 13:17:27 2023 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: updatedb.sh,v 1.15 2014/08/04 21:56:30 apb Exp $
+# $NetBSD: updatedb.sh,v 1.15.26.1 2023/01/23 13:17:27 martin Exp $
#
# Copyright (c) 1989, 1993
# The Regents of the University of California. All rights reserved.
@@ -192,6 +192,6 @@
echo 'locate: updatedb failed' >&2
exit 1
else
- $LIBDIR/locate.code "$BIGRAMS" <"$FILELIST" >"$FCODES"
+ $LIBDIR/locate.code -- "$BIGRAMS" <"$FILELIST" >"$FCODES"
chmod 644 "$FCODES"
fi
Home |
Main Index |
Thread Index |
Old Index