Skip to content

Commit e0aaf4a

Browse files
authored
Correct quoting in command used to set platform.txt version value
Single quotes caused what was intended to be a reference to the VERSION variable to instead be a string, resulting in the value of the platform.txt version property being set to "$VERSION": version=$VERSION
1 parent e50ec8a commit e0aaf4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ mv _bootloaders bootloaders
6464

6565
#Patch title in platform.txt
6666
sed -i "s/Arduino Mbed OS Boards/Arduino Mbed OS ${FLAVOUR^} Boards/g" platform.txt
67-
sed -i 's/9.9.9/$VERSION/g' platform.txt
67+
sed -i "s/9.9.9/$VERSION/g" platform.txt
6868

6969
BASE_FOLDER=`basename $PWD`
7070

@@ -77,4 +77,4 @@ echo FILENAME=ArduinoCore-mbed-$VERSION.tar.bz2 > /tmp/env
7777
else
7878
echo FILENAME=ArduinoCore-mbed-$FLAVOUR-$VERSION.tar.bz2 > /tmp/env
7979
fi
80-
cd -
80+
cd -

0 commit comments

Comments
 (0)