[Lunar-commits] r26132 - moonbase/branches/crater/libs/glibc-new
Jannis Pohlmann
jannis at lunar-linux.org
Mon Oct 8 23:11:01 CEST 2007
Author: jannis
Date: 2007-10-08 23:11:00 +0200 (Mon, 08 Oct 2007)
New Revision: 26132
Modified:
moonbase/branches/crater/libs/glibc-new/BUILD.sparc64
moonbase/branches/crater/libs/glibc-new/BUILD.x86_64
Log:
Sync the 64 bit BUILD scripts
Modified: moonbase/branches/crater/libs/glibc-new/BUILD.sparc64
===================================================================
--- moonbase/branches/crater/libs/glibc-new/BUILD.sparc64 2007-10-08 20:54:44 UTC (rev 26131)
+++ moonbase/branches/crater/libs/glibc-new/BUILD.sparc64 2007-10-08 21:11:00 UTC (rev 26132)
@@ -116,11 +116,12 @@
make localedata/install-locales || exit 1
else
for LOCALE in $GLIBC_LOCALES; do
- INPUTFILE=`echo $LOCALE | cut -d / -f1`
- CHARMAP=`echo $LOCALE | cut -d / -f2`
- mkdir -p /usr/lib/locale/$INPUTFILE
- echo "localedef -i $INPUTFILE -f $CHARMAP $INPUTFILE"
- localedef -i $INPUTFILE -f $CHARMAP $INPUTFILE
+ INPUTFILE=$(echo $LOCALE | cut -d/ -f1 | sed -e 's:\..*$::g')
+ OUTPUTFILE=$(echo $LOCALE | cut -d/ -f1)
+ CHARMAP=$(echo $LOCALE | cut -d/ -f2)
+ mkdir -p /usr/lib/locale/$OUTPUTFILE
+ echo "localedef -i $INPUTFILE -f $CHARMAP $OUTPUTFILE"
+ localedef -i $INPUTFILE -f $CHARMAP $OUTPUTFILE
done
true
fi
Modified: moonbase/branches/crater/libs/glibc-new/BUILD.x86_64
===================================================================
--- moonbase/branches/crater/libs/glibc-new/BUILD.x86_64 2007-10-08 20:54:44 UTC (rev 26131)
+++ moonbase/branches/crater/libs/glibc-new/BUILD.x86_64 2007-10-08 21:11:00 UTC (rev 26132)
@@ -143,11 +143,12 @@
else
devoke_installwatch &&
for LOCALE in $GLIBC_LOCALES; do
- INPUTFILE=$(echo $LOCALE | cut -d/ -f1)
+ INPUTFILE=$(echo $LOCALE | cut -d/ -f1 | sed -e 's:\..*$::g')
+ OUTPUTFILE=$(echo $LOCALE | cut -d/ -f1)
CHARMAP=$(echo $LOCALE | cut -d/ -f2)
- mkdir -p /usr/lib/locale/$INPUTFILE
- echo "localedef -i $INPUTFILE -f $CHARMAP $INPUTFILE"
- localedef -i $INPUTFILE -f $CHARMAP $INPUTFILE
+ mkdir -p /usr/lib/locale/$OUTPUTFILE
+ echo "localedef -i $INPUTFILE -f $CHARMAP $OUTPUTFILE"
+ localedef -i $INPUTFILE -f $CHARMAP $OUTPUTFILE
done
invoke_installwatch &&
touch /usr/lib/locale/locale-archive
More information about the Lunar-commits
mailing list