[Lunar-commits] <moonbase-core> glibc: fix locale picker

Stefan Wold ratler at lunar-linux.org
Sat Oct 25 10:37:24 CEST 2014


commit 93ec092e203d22bb67f779fd804ef729b1c946a6
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 25 Oct 2014 10:37:10 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/93ec092e203d22bb67f779fd804ef729b1c946a6

glibc: fix locale picker
---
  libs/glibc/CONFIGURE | +2/-5     
  1 file changed, 2 insertions(+), 5 deletions(-)

--- a/libs/glibc/CONFIGURE
+++ b/libs/glibc/CONFIGURE
@@ -5,23 +5,20 @@ download_module glibc &&
 LOCALEDATA_DIR="/tmp/localedata"
 ORIGINAL_SUPPORTED="$LOCALEDATA_DIR/SUPPORTED"
 COPIED_SUPPORTED="/tmp/supported-locales"
-FILELIST_FILE="$LOCALEDATA_DIR-files"
 
 unpack_localedata() {
   # Write the path of the localedata archive path into a file
-  echo "${SOURCE/.tar.xz/}/localedata" > $FILELIST_FILE &&
 
   message "Extracting locale data .. this might take a second .."
 
   # Extract the localedata directory from the source tarball
   tar -C /tmp               \
-      -T $FILELIST_FILE     \
       --strip-components=1  \
-      -xJf $SOURCE_CACHE/$SOURCE
+      -xJf $SOURCE_CACHE/$SOURCE "${SOURCE/.tar.xz/}/localedata"
 }
 
 remove_temporary_files() {
-  rm -rf $LOCALEDATA_DIR $FILELIST_FILE $COPIED_SUPPORTED
+  rm -rf $LOCALEDATA_DIR $COPIED_SUPPORTED
 }
 
 make_locales_checklist() {




More information about the Lunar-commits mailing list