elixir-vision / picam

Elixir library used to capture MJPEG video on a Raspberry Pi using the camera module.
Other
122 stars 27 forks source link

Remove potentially catastrophic rm -fr #47

Closed fhunleth closed 5 years ago

fhunleth commented 5 years ago

Apparently someone had $(BUILD) or $(PREFIX) unset and this turned into an rm -fr /. This isn't perfect since intermediate directories aren't removed, but it's much more specific than before and will hopefully avoid a bad accident in the future.