diff options
author | Michael Adam <obnox@samba.org> | 2008-04-01 15:53:54 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-01 16:16:55 +0200 |
commit | 8b015c91c9b10c208fe61cefd71ddc9f4fcbec61 (patch) | |
tree | 09790c42ca8336bccb73eb794457c98c19e78f1d | |
parent | 06dfb0cf7cd39e1072534fc32e79a4b4f6e49cb6 (diff) | |
download | samba-8b015c91c9b10c208fe61cefd71ddc9f4fcbec61.tar.gz samba-8b015c91c9b10c208fe61cefd71ddc9f4fcbec61.tar.xz samba-8b015c91c9b10c208fe61cefd71ddc9f4fcbec61.zip |
installswat: be more portable, use 'printf "%s"' instead of 'echo -n'
Michael
-rwxr-xr-x | source/script/installswat.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |