Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/postinstall PR toolchain/51457 -- be more posix com...
details: https://anonhg.NetBSD.org/src/rev/e6bece7a6616
branches: trunk
changeset: 347552:e6bece7a6616
user: kre <kre%NetBSD.org@localhost>
date: Fri Sep 02 20:25:14 2016 +0000
description:
PR toolchain/51457 -- be more posix compat with sort usage, though it
(currently anyway) makes no difference on NetBSD.
diffstat:
usr.sbin/postinstall/postinstall | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r a39a3ffcf854 -r e6bece7a6616 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall Fri Sep 02 19:06:58 2016 +0000
+++ b/usr.sbin/postinstall/postinstall Fri Sep 02 20:25:14 2016 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.204 2016/09/02 05:38:44 kre Exp $
+# $NetBSD: postinstall,v 1.205 2016/09/02 20:25:14 kre Exp $
#
# Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -648,7 +648,7 @@
( cd "${DEST_DIR}${dir}" && ls -1d [0-9]*[0-9]/. ) \
| ${GREP} -v '[^0-9./]' \
- | sort -t. -r -k1,1n -k2,2n -k3,3n \
+ | sort -t. -r -n -k1,1 -k2,2 -k3,3 \
| tail -n +2 \
| while read subdir ; do
subdir="${subdir%/.}"
Home |
Main Index |
Thread Index |
Old Index