1 #!/bin/sh 2 3 for f in *.mo; do 4 $2 -m 755 -d $1/${f%.mo}/LC_MESSAGES 5 $2 -m 644 $f $1/${f%.mo}/LC_MESSAGES/dnsmasq.mo 6 echo installing $1/${f%.mo}/LC_MESSAGES/dnsmasq.mo 7 done 8 9 10