@@ -41,10 +41,10 @@ case "${UNAME_OS}" in
41
41
Linux* )
42
42
STM32CP_CLI=STM32_Programmer.sh
43
43
if ! command -v $STM32CP_CLI > /dev/null 2>&1 ; then
44
- export PATH=" $HOME /STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin" :$PATH
44
+ export PATH=" $HOME /STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin" :" $PATH "
45
45
fi
46
46
if ! command -v $STM32CP_CLI > /dev/null 2>&1 ; then
47
- export PATH=" /opt/stm32cubeprog/bin" :$PATH
47
+ export PATH=" /opt/stm32cubeprog/bin" :" $PATH "
48
48
fi
49
49
if ! command -v $STM32CP_CLI > /dev/null 2>&1 ; then
50
50
echo " STM32CubeProgrammer not found ($STM32CP_CLI )."
@@ -57,7 +57,7 @@ case "${UNAME_OS}" in
57
57
Darwin* )
58
58
STM32CP_CLI=STM32_Programmer_CLI
59
59
if ! command -v $STM32CP_CLI > /dev/null 2>&1 ; then
60
- export PATH=" /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin" :$PATH
60
+ export PATH=" /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin" :" $PATH "
61
61
fi
62
62
if ! command -v $STM32CP_CLI > /dev/null 2>&1 ; then
63
63
echo " STM32CubeProgrammer not found ($STM32CP_CLI )."
@@ -72,11 +72,11 @@ case "${UNAME_OS}" in
72
72
if ! command -v $STM32CP_CLI > /dev/null 2>&1 ; then
73
73
if [ -n " ${PROGRAMFILES+x} " ]; then
74
74
STM32CP86=${PROGRAMFILES} /STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin
75
- export PATH=${STM32CP86} : $PATH
75
+ export PATH=" ${STM32CP86} " : " $PATH "
76
76
fi
77
77
if [ -n " ${PROGRAMW6432+x} " ]; then
78
78
STM32CP=${PROGRAMW6432} /STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin
79
- export PATH=${STM32CP} : $PATH
79
+ export PATH=" ${STM32CP} " : " $PATH "
80
80
fi
81
81
if ! command -v $STM32CP_CLI > /dev/null 2>&1 ; then
82
82
echo " STM32CubeProgrammer not found ($STM32CP_CLI )."
0 commit comments