hypriot / flash

Command line script to flash SD card images of any kind
MIT License
1k stars 176 forks source link

Bug fixes for Darwin w/Homebrew #198

Open davedittrich opened 2 years ago

davedittrich commented 2 years ago

This pull request includes some fixes I had to make to get things working on Mac OS X 10.14.6 with the homebrew versions of make, dd and mktemp and more than one SD card installed. It should continue to work with Linux and on Mac w/o homebrew. It also includes a new Makefile target install to install the flash script (with .PHONY definitions closer to the targets for clarity) and a TMP_DIR variable setting fix. Testing with make test passes all tests.

davedittrich commented 2 years ago

Neglected to run make shellcheck before issuing PR.