Skip to content

Commit 6de75c3

Browse files
authored
Merge pull request mavlink#70 from Dronecode/69-fix-run-protoc-with-sh
run_protoc.sh: use printf instead of echo
2 parents ee9702b + eb2d952 commit 6de75c3

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)