From: Michael Adam Date: Tue, 1 Apr 2008 13:53:54 +0000 (+0200) Subject: installswat: be more portable, use 'printf "%s"' instead of 'echo -n' X-Git-Tag: samba-3.3.0pre1~2948 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b015c91c9b10c208fe61cefd71ddc9f4fcbec61;p=thirdparty%2Fsamba.git installswat: be more portable, use 'printf "%s"' instead of 'echo -n' Michael --- diff --git a/source/script/installswat.sh b/source/script/installswat.sh index 567bfa1a016..40596f3bd87 100755 --- a/source/script/installswat.sh +++ b/source/script/installswat.sh @@ -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