installswat: be more portable, use 'printf "%s"' instead of 'echo -n'
authorMichael Adam <obnox@samba.org>
Tue, 1 Apr 2008 13:53:54 +0000 (15:53 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 1 Apr 2008 14:16:55 +0000 (16:16 +0200)
Michael
(This used to be commit 8b015c91c9b10c208fe61cefd71ddc9f4fcbec61)

source3/script/installswat.sh

index 567bfa1a016cc7f9b58cc6fc3117e149ec41cc52..40596f3bd87bf6192fa65b26d943710abed5a48e 100755 (executable)
@@ -10,13 +10,13 @@ case $0 in
        *uninstall*)
                echo "Removing SWAT from $DESTDIR/$SWATDIR "
                echo "Removing the Samba Web Administration Tool "
-               echo -n "Removed "
+               printf "%s" "Removed "
                mode='uninstall'
                ;;
        *)
                echo "Installing SWAT in $DESTDIR/$SWATDIR "
                echo "Installing the Samba Web Administration Tool "
-               echo -n "Installing "
+               printf "%s" "Installing "
                mode='install'
                ;;
 esac