diff options
author | Barry Jackson <barjac@mageia.org> | 2023-01-30 12:14:42 +0000 |
---|---|---|
committer | Barry Jackson <barjac@mageia.org> | 2023-01-30 12:14:42 +0000 |
commit | 708714a45af5f0d7b87d0a4073b3442b39194f6d (patch) | |
tree | b4a8ab71959c4b88506a44b526a487352064a3d5 | |
parent | 2ed0893a08fc9bf25a2c778653a1fd223b2fc6d4 (diff) | |
download | remove-old-kernels-708714a45af5f0d7b87d0a4073b3442b39194f6d.tar remove-old-kernels-708714a45af5f0d7b87d0a4073b3442b39194f6d.tar.gz remove-old-kernels-708714a45af5f0d7b87d0a4073b3442b39194f6d.tar.bz2 remove-old-kernels-708714a45af5f0d7b87d0a4073b3442b39194f6d.tar.xz remove-old-kernels-708714a45af5f0d7b87d0a4073b3442b39194f6d.zip |
clean mk-mo script
-rwxr-xr-x | mk-mo | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |