We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5deae4e + ba968c9 commit d0ed194Copy full SHA for d0ed194
1 file changed
tools/linux/maple_upload
@@ -26,15 +26,15 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
26
# 750ms to 1500ms seems to work on my Mac
27
28
29
-${DIR}/upload-reset ${dummy_port_fullpath} 750
+"${DIR}/upload-reset" ${dummy_port_fullpath} 750
30
31
32
#DFU_UTIL=$(dirname $0)/dfu-util/dfu-util
33
DFU_UTIL=/usr/bin/dfu-util
34
DFU_UTIL=${DIR}/dfu-util/dfu-util
35
-if [ ! -x ${DFU_UTIL} ]; then
+if [ ! -x "${DFU_UTIL}" ]; then
36
echo "$0: error: cannot find ${DFU_UTIL}" >&2
37
exit 2
38
fi
39
40
-${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} ${dfuse_addr} -R
+"${DFU_UTIL}" -d ${usbID} -a ${altID} -D ${binfile} ${dfuse_addr} -R
0 commit comments