mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
locale: adapt helper scripts to current compilers
This commit is contained in:
@@ -27,14 +27,15 @@ cat > locals.h <<EOH
|
||||
|
||||
typedef enum
|
||||
{
|
||||
NONEXISTANT_LOCALE,
|
||||
EOH
|
||||
printf "\tNONEXISTANT_LOCALE" >> locals.h
|
||||
|
||||
while read id; do
|
||||
echo $'\t'"LOCALE_$id," >> locals.h;
|
||||
printf ",\n\tLOCALE_$id" >> locals.h;
|
||||
done
|
||||
|
||||
cat >> locals.h <<EOF
|
||||
|
||||
} neutrino_locale_t;
|
||||
#endif
|
||||
EOF
|
||||
|
Reference in New Issue
Block a user