summaryrefslogtreecommitdiff
path: root/Master/bin/universal-darwin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-06-11 22:46:22 +0000
committerKarl Berry <karl@freefriends.org>2011-06-11 22:46:22 +0000
commit951ab9a7a533f757cd08e4048c8254f33ae21d57 (patch)
tree2bc3f787f6b957977d0dcf89a900788b195eecde /Master/bin/universal-darwin
parent2ffd67c35b9cccb7274ee59dc06a191c9f161e48 (diff)
sync tpic2pdftex
git-svn-id: svn://tug.org/texlive/trunk@22925 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/universal-darwin')
-rwxr-xr-xMaster/bin/universal-darwin/tpic2pdftex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/bin/universal-darwin/tpic2pdftex b/Master/bin/universal-darwin/tpic2pdftex
index 8277e0d3c7b..16fef2c8fff 100755
--- a/Master/bin/universal-darwin/tpic2pdftex
+++ b/Master/bin/universal-darwin/tpic2pdftex
@@ -20,7 +20,7 @@
# Bounding box does not care for line thickness (groff pic feature).
# Splines might be outside bounding box.
#
-# Copyright (C) 2002--2010 by Hartmut Henkel
+# Copyright (C) 2002--2011 by Hartmut Henkel
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -114,7 +114,7 @@ if test -z "$AWK"; then # if set by user, leave it.
fi
fi
-export LANG="C"
+LANG="C"; export LANG
AWKPROG='
# begin of awk input file
@@ -161,10 +161,10 @@ BEGIN{
pi = atan2(0, -1);
if (match(sprintf("%f", 0.5), /\./) == 0) {
print "ERROR: Floating point numbers miss decimal point. Do"
- print " export LANG=\"C\""
+ print " LANG=\"C\"; export LANG"
print "before calling awk."
print "ERROR: Floating point numbers miss decimal point. Do" > "/dev/stderr"
- print " export LANG=\"C\"" > "/dev/stderr"
+ print " LANG=\"C\"; export LANG" > "/dev/stderr"
print "before calling awk." > "/dev/stderr"
exit 1;
}