Skip to content

Commit 8ad6098

Browse files
committed
Fixed typo in install script preventing mpy file generation.
Signed-off-by: ubi de feo <[email protected]>
1 parent 420f67d commit 8ad6098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ for filename in $SRCDIR/*; do
8686
source_extension="${f_name##*.}"
8787
destination_extension=$source_extension
8888

89-
if [ "$ext" = "mpy" ] && [ "$source_extention" = "py" ]; then
89+
if [[ "$ext" == "mpy" && "$source_extension" == "py" ]]; then
9090
echo "Compiling $SRCDIR/$f_name to $SRCDIR/${f_name%.*}.$ext"
9191
mpy-cross "$SRCDIR/$f_name"
9292
destination_extension=$ext

0 commit comments

Comments
 (0)