[Lunar-commits] r26116 - moonbase/branches/crater/libs/glibc-new

Jannis Pohlmann jannis at lunar-linux.org
Mon Oct 8 02:35:59 CEST 2007


Author: jannis
Date: 2007-10-08 02:35:59 +0200 (Mon, 08 Oct 2007)
New Revision: 26116

Modified:
   moonbase/branches/crater/libs/glibc-new/CONFIGURE
Log:
Rename functions

Modified: moonbase/branches/crater/libs/glibc-new/CONFIGURE
===================================================================
--- moonbase/branches/crater/libs/glibc-new/CONFIGURE	2007-10-08 00:31:09 UTC (rev 26115)
+++ moonbase/branches/crater/libs/glibc-new/CONFIGURE	2007-10-08 00:35:59 UTC (rev 26116)
@@ -3,7 +3,7 @@
 COPIED_SUPPORTED="/tmp/supported-locales"
 FILELIST_FILE="$LOCALEDATA_DIR-files"
 
-unpack_supported_locales() {
+unpack_localedata() {
   # Write the path of the localedata archive path into a file
   echo "${SOURCE/.tar.bz2/}/localedata" > $FILELIST_FILE &&
 
@@ -14,7 +14,7 @@
       -xjf $SOURCE_CACHE/$SOURCE
 }
 
-cleanup_supported_locales() {
+remove_temporary_files() {
   rm -rf $LOCALEDATA_DIR $FILELIST_FILE $COPIED_SUPPORTED
 }
 
@@ -66,14 +66,14 @@
   fi
 
   if query "Would you like to select locales? (if not selected, all locales will be installed)" y; then
-    unpack_supported_locales
+    unpack_localedata
 
     GLIBC_LOCALES=`select_locales`
     TEMP=`grep -v "GLIBC_LOCALES="             $MODULE_CONFIG`
     echo "$TEMP"                             > $MODULE_CONFIG
     echo "GLIBC_LOCALES=\"$GLIBC_LOCALES\"" >> $MODULE_CONFIG
 
-    cleanup_supported_locales
+    remove_temporary_files
   fi
 
   echo "OPTS=\"\$OPTS $OPTS\"" >> $MODULE_CONFIG



More information about the Lunar-commits mailing list