]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - python/upload_feather_huzzah_circuitpython_put.sh
Snapshot of testing.main() which runs BME280 successfully
[Adafruit_Blinka-hackapet.git] / python / upload_feather_huzzah_circuitpython_put.sh
index f7a3bb02d51929eb88eea5562d527ac8ea3100d5..fba0d4a5ead3d92b2aeb5e322ca2ae4a82c17213 100755 (executable)
@@ -3,7 +3,7 @@ PORT=/dev/ttyUSB0
 
 # create only relevant directories on the board
 find testing -type d | \
 
 # 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  {}"
 
         grep -v -E '^testing/implementation/micropython*' | \
         xargs -n1 -I {} sh -c "echo Creating directory {} ...; ampy --port ${PORT} mkdir --exists-okay  {}"