10 # particular file as subject to the "Classpath" exception as provided
11 # by Sun in the LICENSE file that accompanied this code.
12 #
13 # This code is distributed in the hope that it will be useful, but WITHOUT
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 # version 2 for more details (a copy is included in the LICENSE file that
17 # accompanied this code).
18 #
19 # You should have received a copy of the GNU General Public License version
20 # 2 along with this work; if not, write to the Free Software Foundation,
21 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
22 #
23 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
24 # CA 95054 USA or visit www.sun.com if you need additional information or
25 # have any questions.
26 #
27
28 #
29 # This script is to generate the supported locale list string and replace the
30 # LocaleDataMetaInfo-XLocales.java in <ws>/src/share/classes/sun/util
31 #
32 # SORT, NAWK & SED is passed in as environment variables.
33 #
34
35 # A list of resource base name list;
36 RESOURCE_NAMES=$1
37
38 # A list of European resources;
39 EURO_FILES_LIST=$2
40
41 # A list of non-European resources;
42 NONEURO_FILES_LIST=$3
43
44 INPUT_FILE=$4
45 OUTPUT_FILE=$5
46
47 localelist=
48 getlocalelist() {
49 localelist=""
50 localelist=`$NAWK -F$1_ '{print $2}' $2 | $SORT`
|
10 # particular file as subject to the "Classpath" exception as provided
11 # by Sun in the LICENSE file that accompanied this code.
12 #
13 # This code is distributed in the hope that it will be useful, but WITHOUT
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 # version 2 for more details (a copy is included in the LICENSE file that
17 # accompanied this code).
18 #
19 # You should have received a copy of the GNU General Public License version
20 # 2 along with this work; if not, write to the Free Software Foundation,
21 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
22 #
23 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
24 # CA 95054 USA or visit www.sun.com if you need additional information or
25 # have any questions.
26 #
27
28 #
29 # This script is to generate the supported locale list string and replace the
30 # LocaleDataMetaInfo-XLocales.java.template in <ws>/src/share/classes/sun/util
31 #
32 # SORT, NAWK & SED is passed in as environment variables.
33 #
34
35 # A list of resource base name list;
36 RESOURCE_NAMES=$1
37
38 # A list of European resources;
39 EURO_FILES_LIST=$2
40
41 # A list of non-European resources;
42 NONEURO_FILES_LIST=$3
43
44 INPUT_FILE=$4
45 OUTPUT_FILE=$5
46
47 localelist=
48 getlocalelist() {
49 localelist=""
50 localelist=`$NAWK -F$1_ '{print $2}' $2 | $SORT`
|