Skip to content

Commit

Permalink
Tools: lost linux line ending
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkk525 committed Aug 14, 2020
1 parent e761317 commit b392a45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions tools/esp32/ftp/generate_bytecode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ rsync -av --prune-empty-dirs --include "*/" --include "*.py" --exclude "*" --ex

function foo {
echo $1
local res=$(/home/kevin/.local/bin/strip-hints --only-assigns-and-defs --only-test-for-changes $1)
if [[ $res = "True" ]]; then
echo "$1 stripped of hints"
v=$(/home/kevin/.local/bin/strip-hints --only-assigns-and-defs $1)
echo "$v" > $1
#local res=$(/home/kevin/.local/bin/strip-hints --only-assigns-and-defs --only-test-for-changes $1)
#if [[ $res = "True" ]]; then
# echo "$1 stripped of hints"
# v=$(/home/kevin/.local/bin/strip-hints --only-assigns-and-defs $1)
# echo "$v" > $1
#else
# echo $1 $res
fi
#fi
~/micropython/mpy-cross/mpy-cross -march=xtensawin $1;
rm $1
}
Expand Down
4 changes: 2 additions & 2 deletions tools/esp32/ftp/renew.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

./tools/esp32/ftp/generate_bytecode.sh
./tools/esp32/ftp/esp32_sync_ftp.sh
./generate_bytecode.sh
./esp32_sync_ftp.sh

0 comments on commit b392a45

Please sign in to comment.