aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-05-15 12:49:48 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-05-15 12:49:48 +0000
commit069561cdbfd1f188908fee5ea020cc44fa1ddfdb (patch)
treeee89410e0bd07ef04d66c5c2b4f98af6ad5af8c6
parent68833747ac16f1be8285895c1eb7d412764c2eff (diff)
Makefile: Really avoid locales in $(DATE)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15326 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--Makefile.common2
-rwxr-xr-xconfigure4
2 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index 68eb8de7e..4c641918e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -337,8 +337,6 @@ MANPAGES:=man/coq-tex.1 man/coqdep.1 man/gallina.1 \
man/coqwc.1 man/coqdoc.1 man/coqide.1 \
man/coq_makefile.1 man/coqmktop.1 man/coqchk.1
-DATE=$(shell LANG=C date +"%B %Y")
-
###########################################################################
# Source documentation
###########################################################################
diff --git a/configure b/configure
index e98f8c7dd..adf1a75f8 100755
--- a/configure
+++ b/configure
@@ -9,7 +9,7 @@
VERSION=trunk
VOMAGIC=08211
STATEMAGIC=58211
-DATE=`LANG=C date +"%B %Y"`
+DATE=`LC_ALL=C LANG=C date +"%B %Y"`
# Create the bin/ directory if non-existent
test -d bin || mkdir bin
@@ -297,7 +297,7 @@ case $DATEPGM in
"") echo "I can't find the program \"date\" in your path."
echo "Please give me the current date"
read COMPILEDATE;;
- *) COMPILEDATE=`date +"%h %d %Y %H:%M:%S"`;;
+ *) COMPILEDATE=`LC_ALL=C LANG=C date +"%h %d %Y %H:%M:%S"`;;
esac
# Architecture