Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2014)

Side by Side Diff: scripts/data_common.sh

Issue 1639543006: ICU 56 step 6: Check in the pre-built ICU data (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@56local_patches
Patch Set: minor clean up of README.chromium Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 # This is shared among scripts to build and copy ICU data.
7
8 [ -r icudefs.mk ] && \
9 egrep '^## Top-level Makefile.in for ICU' Makefile > /dev/null || \
10 { echo "cd to the ICU build directory before running $0" ; exit 1; }
11 #echo "check succeeded" && exit 0
12
13 TOPSRC2=$(egrep '^top_srcdir =' Makefile | cut -d ' ' -f 3)
14
15 if [[ ! "${TOPSRC}/source" -ef "${TOPSRC2}" ]]; then
16 echo "ICU was built from the source in ${TOPSRC2}, but";
17 echo "this script is in ${TOPSRC}.";
18 exit 2
19 fi
20
21 echo "Working on ICU built from ${TOPSRC2}"
22
23 VERSION=$(egrep '^SO_TARGET.*MAJOR' icudefs.mk | cut -d ' ' -f 3)
24 echo "The major version of ICU is $VERSION"
Mark Mentovai 2016/01/28 14:23:33 scripts/euckr_gen.sh shows up as empty on both sid
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698