to be portable, use options first, arguments last
authorBjörn Jacke <bj@sernet.de>
Sun, 8 Mar 2009 11:54:04 +0000 (12:54 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 17 Mar 2009 15:09:15 +0000 (16:09 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
source3/script/installmo.sh

index 9c4ab1eefe628d5ca0b278a0a71f9e08d3e2f37a..5ca3371d80ecbbba993fc617d1ec0ddd731fc4b3 100644 (file)
@@ -35,7 +35,7 @@ for dir in $SRCDIR/locale/*; do
                if test "$mode" = 'install'; then
                        echo "Installing $f as $FNAME"
                        touch "$FNAME"
-                       $MSGFMT "$f" -f -o "$FNAME"
+                       $MSGFMT -f -o "$FNAME" "$f"
                        if test ! -f "$FNAME"; then
                                echo "Cannot install $FNAME. Does $USER have privileges?"
                                exit 1