Skip to content

Commit 6d2350e

Browse files
authored
Merge pull request arduino#203 from per1234/fix-sed-version
Correct quoting in command used to set platform.txt version value
2 parents b7f68b1 + e0aaf4a commit 6d2350e

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)