mkbasepot.sh 310 B

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