-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathvalidate.sh
More file actions
executable file
·28 lines (23 loc) · 1.06 KB
/
validate.sh
File metadata and controls
executable file
·28 lines (23 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env sh
if [ ! -d zaf-code ]; then
svn checkout --depth empty svn://svn.code.sf.net/p/zaf/code/trunk zaf-code
svn update --set-depth infinity zaf-code/locale
sed -i 's/!\/bin\/sh/!\/bin\/bash/' zaf-code/locale/errors
sed -i 's/!\/bin\/sh/!\/bin\/bash/' zaf-code/locale/definition
sed -i 's/get_locale_data field $locale\.utf8$//' zaf-code/locale/definition
sed -i 's/echo "A calander/exit\necho "A calander/' zaf-code/locale/check-dates
fi
zaf-code/locale/errors en_NL
if [ -e /usr/share/i18n/locales/en_NL ]; then
zaf-code/locale/definition en_NL.utf8 > en_NL.txt
zaf-code/locale/check-dates en_NL >> en_NL.txt
zaf-code/locale/check-numbers en_NL >> en_NL.txt
else
echo "Please, install en_NL to /usr/share/i18n/locales with add.sh"
fi
zaf-code/locale/definition en_US.utf8 > en_US.txt
zaf-code/locale/check-dates en_US >> en_US.txt
zaf-code/locale/check-numbers en_US >> en_US.txt
zaf-code/locale/definition nl_NL.utf8 > nl_NL.txt
zaf-code/locale/check-dates nl_NL >> nl_NL.txt
zaf-code/locale/check-numbers nl_NL >> nl_NL.txt