@@ -74,26 +74,32 @@ function createSymlinks() {
74
74
esac
75
75
}
76
76
77
- function checkoutSilme() {
78
- # Check out SILME library to a specific version (0.8.0)
79
- if [ ! -d $libraries /silme/.hg ]
77
+ function setupExternalLibraries() {
78
+ # Check out or update compare-locales library
79
+ version=" RELEASE_1_2_1"
80
+ if [ ! -d $libraries /compare-locales/.hg ]
80
81
then
81
- echogreen " Checking out the SILME library into $libraries "
82
+ echogreen " Checking out compare-locales in $libraries "
82
83
cd $libraries
83
- hg clone https://hg.mozilla.org/l10n/silme -u silme-0.8.0
84
+ hg clone https://hg.mozilla.org/l10n/compare-locales -u $version
85
+ cd $install
86
+ else
87
+ echogreen " Updating compare-locales in $libraries "
88
+ cd $libraries /compare-locales
89
+ hg pull -r default --update
90
+ hg update $version
84
91
cd $install
85
92
fi
86
- }
87
93
88
- function setupP12nExtract() {
94
+ # Check out or update external p12n-extract library
89
95
if [ ! -d $libraries /p12n/.git ]
90
96
then
91
- echogreen " Checking out the p12n-extract library into $libraries "
97
+ echogreen " Checking out the p12n-extract library in $libraries "
92
98
cd $libraries
93
99
git clone https://github.com/flodolo/p12n-extract/ p12n
94
100
cd $install
95
101
else
96
- echogreen " Updating the p12n-extract library into $libraries "
102
+ echogreen " Updating the p12n-extract library in $libraries "
97
103
cd $libraries /p12n
98
104
git pull
99
105
cd $install
246
252
fi
247
253
echo " ${CURRENT_TIP: 0: 7}${DEV_VERSION} " > " ${install} /cache/version.txt"
248
254
249
- checkoutSilme
250
- setupP12nExtract
255
+ setupExternalLibraries
251
256
252
257
initDesktopSourceRepo " central"
253
258
initDesktopSourceRepo " release"
0 commit comments