767105094ef02be2b11229d0d80090192899feb6
[project/luci.git] / build / mkbasepot.sh
1 #!/bin/sh
2
3 [ -d ./build ] || {
4         echo "Please execute as ./build/mkbasepot.sh" >&2
5         exit 1
6 }
7
8 echo -n "Updating po/templates/base.pot ... "
9
10 ./build/i18n-scan.pl \
11         modules/base/ modules/admin-full/ \
12         protocols/ themes/openwrt/ \
13 > po/templates/base.pot
14
15 echo "done"