Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/file Force LANG=C before doing the shell glob to avo...



details:   https://anonhg.NetBSD.org/src/rev/959da20e0e1c
branches:  trunk
changeset: 567478:959da20e0e1c
user:      jmc <jmc%NetBSD.org@localhost>
date:      Wed Jun 16 01:33:35 2004 +0000

description:
Force LANG=C before doing the shell glob to avoid collation issues on hosts
(otherwise it might pick up CVS for instance)

diffstat:

 usr.bin/file/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 69d0479771bc -r 959da20e0e1c usr.bin/file/Makefile
--- a/usr.bin/file/Makefile     Wed Jun 16 00:03:25 2004 +0000
+++ b/usr.bin/file/Makefile     Wed Jun 16 01:33:35 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.49 2003/10/21 10:01:22 lukem Exp $
+#      $NetBSD: Makefile,v 1.50 2004/06/16 01:33:35 jmc Exp $
 
 .include <bsd.own.mk>
 
@@ -30,7 +30,7 @@
 realall:       file magic magic.mgc magic.mime.mgc
 .endif
 
-MAGDIRF:sh=    echo ${DIST}/magic/magdir/[0-9a-z]*
+MAGDIRF:sh=    LANG=C sh -c 'echo ${DIST}/magic/magdir/[0-9a-z]*'
 MAGFILES=      ${DIST}/magic/Header \
                ${DIST}/magic/Localstuff \
                ${DIST}/magic/magdir/netbsd \



Home | Main Index | Thread Index | Old Index