summaryrefslogtreecommitdiffhomepage
path: root/build/mkbasepot.sh
blob: 7f07514fca777ad299131e3a5d7f7e0c303a06fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

[ -d ./build ] || {
	echo "Please execute as ./build/mkbasepot.sh" >&2
	exit 1
}

echo -n "Updating modules/luci-base/po/templates/base.pot ... "

./build/i18n-scan.pl \
	modules/luci-base/ modules/luci-mod-admin-full/ \
	protocols/ themes/ \
> modules/luci-base/po/templates/base.pot

echo "done"