From 3f379525a51a3b34e001ca20dacfb27d64ba4c70 Mon Sep 17 00:00:00 2001 From: Cefn Hoile Date: Tue, 20 Feb 2018 17:58:25 +0000 Subject: [PATCH] Fixed issue with directories being incorrectly filtered --- python/upload_feather_huzzah_circuitpython_put.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/upload_feather_huzzah_circuitpython_put.sh b/python/upload_feather_huzzah_circuitpython_put.sh index f7a3bb0..fba0d4a 100755 --- a/python/upload_feather_huzzah_circuitpython_put.sh +++ b/python/upload_feather_huzzah_circuitpython_put.sh @@ -3,7 +3,7 @@ PORT=/dev/ttyUSB0 # create only relevant directories on the board find testing -type d | \ - grep -v -E "(.(git|idea|vscode)|__pycache__)" | \ + grep -v -E "(^./.git|^./.idea|^./.vscode|__pycache__)" | \ grep -v -E '^testing/implementation/micropython*' | \ xargs -n1 -I {} sh -c "echo Creating directory {} ...; ampy --port ${PORT} mkdir --exists-okay {}" -- 2.49.0