summaryrefslogtreecommitdiffstats
path: root/bld/install-mo
diff options
context:
space:
mode:
Diffstat (limited to 'bld/install-mo')
-rwxr-xr-xbld/install-mo9
1 files changed, 9 insertions, 0 deletions
diff --git a/bld/install-mo b/bld/install-mo
new file mode 100755
index 0000000..d11fa9f
--- /dev/null
+++ b/bld/install-mo
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+for f in *.mo; do
+ $2 -m 755 -d $1/${f%.mo}/LC_MESSAGES
+ $2 -m 644 $f $1/${f%.mo}/LC_MESSAGES/dnsmasq.mo
+ echo installing $1/${f%.mo}/LC_MESSAGES/dnsmasq.mo
+done
+
+