From eb2d952d5630f98344454c930c43b49990a34bf3 Mon Sep 17 00:00:00 2001 From: Jonas Vautherin Date: Sun, 26 May 2019 13:45:55 +0200 Subject: [PATCH] run_protoc.sh: use printf instead of echo for more consistent behavior between sh and bash on different platforms --- other/tools/run_protoc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/tools/run_protoc.sh b/other/tools/run_protoc.sh index 40a3c5d3..e3cc82c8 100755 --- a/other/tools/run_protoc.sh +++ b/other/tools/run_protoc.sh @@ -8,7 +8,7 @@ PLUGIN_INIT="${PLUGIN_DIR}/__init__.py" export TEMPLATE_PATH="${WORK_DIR}/other/templates/" function generate { - echo -e "# -*- coding: utf-8 -*-\n" > $PLUGIN_INIT + printf "# -*- coding: utf-8 -*-\n\n" > $PLUGIN_INIT for PROTO_FILE in `find ${PROTO_DIR} -name "*.proto" -type f`; do