Use LC_ALL for sed too since apparently some platforms play silly games

in other locales.
This commit is contained in:
Nicholas Marriott 2010-05-12 19:47:25 +00:00
parent 7d4588f470
commit 4e120c00f7
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.125 2010-04-23 07:38:36 nicm Exp $ # $Id: GNUmakefile,v 1.126 2010-05-12 19:47:25 nicm Exp $
# #
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> # Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
# #
@ -57,7 +57,7 @@ INSTALLDIR= $(INSTALL) -d
INSTALLBIN= $(INSTALL) -m 555 INSTALLBIN= $(INSTALL) -m 555
INSTALLMAN= $(INSTALL) -m 444 INSTALLMAN= $(INSTALL) -m 444
SRCS= $(shell echo *.c|sed 's|osdep-[a-z0-9]*.c||g') SRCS= $(shell echo *.c|LC_ALL=C sed 's|osdep-[a-z0-9]*.c||g')
include config.mk include config.mk
OBJS= $(patsubst %.c,%.o,$(SRCS)) OBJS= $(patsubst %.c,%.o,$(SRCS))

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.158 2010-04-23 07:38:36 nicm Exp $ # $Id: Makefile,v 1.159 2010-05-12 19:47:25 nicm Exp $
# #
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> # Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
# #
@ -53,7 +53,7 @@ INSTALLDIR= ${INSTALL} -d
INSTALLBIN= ${INSTALL} -m 555 INSTALLBIN= ${INSTALL} -m 555
INSTALLMAN= ${INSTALL} -m 444 INSTALLMAN= ${INSTALL} -m 444
SRCS!= echo *.c|sed 's|osdep-[a-z0-9]*.c||g' SRCS!= echo *.c|LC_ALL=C sed 's|osdep-[a-z0-9]*.c||g'
.include "config.mk" .include "config.mk"
OBJS= ${SRCS:S/.c/.o/} OBJS= ${SRCS:S/.c/.o/}