We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 420f67d commit 8ad6098Copy full SHA for 8ad6098
install.sh
@@ -86,7 +86,7 @@ for filename in $SRCDIR/*; do
86
source_extension="${f_name##*.}"
87
destination_extension=$source_extension
88
89
- if [ "$ext" = "mpy" ] && [ "$source_extention" = "py" ]; then
+ if [[ "$ext" == "mpy" && "$source_extension" == "py" ]]; then
90
echo "Compiling $SRCDIR/$f_name to $SRCDIR/${f_name%.*}.$ext"
91
mpy-cross "$SRCDIR/$f_name"
92
destination_extension=$ext
0 commit comments