]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 May 2009 09:30:00 +0000 (11:30 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
source/script/installmo.sh [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 9c4ab1e..5ca3371
@@ -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