about summary refs log tree commit diff
path: root/localedata/gen-locale.sh
diff options
context:
space:
mode:
authorLeonhard Holz <leonhard.holz@web.de>2015-05-12 20:32:50 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2015-05-13 13:05:28 +0530
commit9f53d7ad577db870c4383b4378cd23131f516c42 (patch)
tree73ad92cd0bd10b0d30677e775e2de6ece4ebe483 /localedata/gen-locale.sh
parent0f4840be2528b3e3f2ecea009ab08e753701e9be (diff)
downloadglibc-9f53d7ad577db870c4383b4378cd23131f516c42.tar.gz
glibc-9f53d7ad577db870c4383b4378cd23131f516c42.tar.xz
glibc-9f53d7ad577db870c4383b4378cd23131f516c42.zip
Split locale generation snippet into a separate file
This patch prepares for the strcoll benchmark by moving the makefile
code for generating the locale files into a standalone snippet that
can be used elsewhere.
Diffstat (limited to 'localedata/gen-locale.sh')
-rw-r--r--localedata/gen-locale.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/localedata/gen-locale.sh b/localedata/gen-locale.sh
index 4156f9e2ec..a0e3a1a23f 100644
--- a/localedata/gen-locale.sh
+++ b/localedata/gen-locale.sh
@@ -30,7 +30,7 @@ generate_locale ()
   charmap=$1
   input=$2
   out=$3
-  if ${localedef_before_env} ${run_program_env} I18NPATH=. \
+  if ${localedef_before_env} ${run_program_env} I18NPATH=../localedata \
      ${localedef_after_env} --quiet -c -f $charmap -i $input \
 			    ${common_objpfx}localedata/$out
   then