File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ elif [ "$target" == "unix" -o "$target" == "macOS" ]; then
106106 # (cross-compiler doesn't support Viper native code emitter)
107107 echo " Temporarily commenting out @micropython.viper decorator for Unix/macOS build..."
108108 stream_wav_file=" $codebasedir " /internal_filesystem/lib/mpos/audio/stream_wav.py
109- sed -i ' s/^@micropython\.viper$/#@micropython.viper/' " $stream_wav_file "
109+ sed -i.backup ' s/^@micropython\.viper$/#@micropython.viper/' " $stream_wav_file "
110110
111111 # LV_CFLAGS are passed to USER_C_MODULES
112112 # STRIP= makes it so that debug symbols are kept
@@ -117,7 +117,7 @@ elif [ "$target" == "unix" -o "$target" == "macOS" ]; then
117117
118118 # Restore @micropython.viper decorator after build
119119 echo " Restoring @micropython.viper decorator..."
120- sed -i ' s/^#@micropython\.viper$/@micropython.viper/' " $stream_wav_file "
120+ sed -i.backup ' s/^#@micropython\.viper$/@micropython.viper/' " $stream_wav_file "
121121else
122122 echo " invalid target $target "
123123fi
You can’t perform that action at this time.
0 commit comments