From 46c6ca3b9ee3e545a41b3b0f488885b20a1c65b5 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 22 Jun 2017 11:44:19 -0400 Subject: Fixed printf calls & replaced 'echo' w/ printf. All printf calls should now be properly formatted; prior, the format specifier string was erroneously used for both the format specifiers and the string to be printed. 'env' is now used to locate the printf binary so as to avoid potentially using a shell builtin. Lastly, all calls to 'echo' within the new build system have been replaced with printf for consistency/portability purposes. --- www/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www') diff --git a/www/publish.sh b/www/publish.sh index f9aabf3e..e1ebe016 100755 --- a/www/publish.sh +++ b/www/publish.sh @@ -46,7 +46,7 @@ else fi if [[ $FILE = *suppliers ]]; then - printf "\nEdit this page -- Back to previous page\n" >> temp.md + env printf '\n%s\n' "Edit this page -- Back to previous page" >> temp.md fi if [ "${FILE}" != "./docs/fdl-1.3" ] && [ "${FILE}" != "./conduct" ]; then -- cgit v1.2.3-70-g09d2