Skip to content

Commit eb2d952

Browse files
run_protoc.sh: use printf instead of echo for more consistent behavior between sh and bash on different platforms
1 parent ee9702b commit eb2d952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

other/tools/run_protoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PLUGIN_INIT="${PLUGIN_DIR}/__init__.py"
88
export TEMPLATE_PATH="${WORK_DIR}/other/templates/"
99

1010
function generate {
11-
echo -e "# -*- coding: utf-8 -*-\n" > $PLUGIN_INIT
11+
printf "# -*- coding: utf-8 -*-\n\n" > $PLUGIN_INIT
1212

1313
for PROTO_FILE in `find ${PROTO_DIR} -name "*.proto" -type f`; do
1414

0 commit comments

Comments
 (0)