build: invoke ./build/mkbasepot.sh without any parameters
[project/luci.git] / build / i18n-sync.sh
index d8460fc2b861e89926b9c758d6536d3c734d14fb..7d57f1b1b5471d9588603b13668d1109a99b436b 100755 (executable)
@@ -25,6 +25,7 @@ esac
 
 [ -n "$1" ] && set -- "${1%/}"
 
+[ -n "$1" ] || ./build/mkbasepot.sh
 
 # Absent a [folder] parameter, use the current path
 find "${1:-.}" -name '*.pot' -and -not -name base.pot | sort | \