From 708714a45af5f0d7b87d0a4073b3442b39194f6d Mon Sep 17 00:00:00 2001 From: Barry Jackson Date: Mon, 30 Jan 2023 12:14:42 +0000 Subject: clean mk-mo script --- mk-mo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mk-mo') diff --git a/mk-mo b/mk-mo index 70975ee..6017830 100755 --- a/mk-mo +++ b/mk-mo @@ -6,17 +6,17 @@ mkdir locale -cd po +cd po || exit 1 for po in *.po; do -echo $po +echo "$po" -molang=$(echo $po|rev|cut -d. -f2-|rev) +molang=$(echo "$po"|rev|cut -d. -f2-|rev) -mkdir -p ../locale/$molang/LC_MESSAGES +mkdir -p ../locale/"$molang"/LC_MESSAGES -msgfmt -vco ../locale/$molang/LC_MESSAGES/remove-old-kernels.mo $po +msgfmt -vco ../locale/"$molang"/LC_MESSAGES/remove-old-kernels.mo "$po" done -- cgit v1.2.1