Skip to content

Commit 75e067f

Browse files
committed
fix(maple_upload): review output redirection
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent b84d4ff commit 75e067f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

maple_upload.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ do
7070
fi
7171
done
7272

73-
printf "Waiting for %s serial..." "${dummy_port_fullpath}" >&2
73+
printf "Waiting for %s serial..." "${dummy_port_fullpath}"
7474
COUNTER=40
7575
if [ ${OS_DIR} = "win" ]; then
7676
while [ $COUNTER -gt 0 ]; do
7777
if ! "${DIR}/${OS_DIR}/check_port${EXT}" "${dummy_port_fullpath}"; then
7878
COUNTER=$((COUNTER - 1))
79-
printf "." >&2
79+
printf "."
8080
sleep 0.1
8181
else
8282
break
@@ -86,7 +86,7 @@ if [ ${OS_DIR} = "win" ]; then
8686
else
8787
while [ ! -r "${dummy_port_fullpath}" ] && [ $COUNTER -gt 0 ]; do
8888
COUNTER=$((COUNTER - 1))
89-
printf "." >&2
89+
printf "."
9090
sleep 0.1
9191
done
9292
fi
@@ -95,5 +95,5 @@ if [ $COUNTER -eq -0 ]; then
9595
echo " Timed out." >&2
9696
exit 1
9797
else
98-
echo " Done." >&2
98+
echo " Done."
9999
fi

0 commit comments

Comments
 (0)